﻿
    //获取7天以后的日期
    var newdate = new Date(); 
    var num =6;
    var time = newdate.getTime() + (num * 24 * 60 * 60 * 1000);  
    var endtime=fmtDate(time);  //时间格式
   
     function DateHour(sDate1, sDate2) { //sDate1和sDate2是yyyy-MM-dd格式   相差几分钟

        var dateSpan,
            tempDate,
            iDays;
        sDate1 = Date.parse(sDate1);
        sDate2 = Date.parse(sDate2);
        dateSpan = sDate2 - sDate1;
        dateSpan = Math.abs(dateSpan);
        iDays = Math.floor(dateSpan / (60 * 1000));
        return iDays
    }
    
/*  
    document.getElementById("yaoqing_switch").addEventListener("toggle",function(event){
          if(event.detail.isActive){
             mui.toast('1',{ duration:'long', type:'div' }); 
          }else{
             mui.toast('2',{ duration:'long', type:'div' }); 
          }
        })
*/



    function dianji_riqi(){        //点击选择日期方法
        //alert(endtime.getFullYear()+","+endtime.getMonth()+","+endtime.getDate()+",");
        var dtPicker = new mui.DtPicker({ 
        type: "date" ,
        beginDate: new Date(),//设置开始日期 
        endDate: new Date(endtime.getFullYear(),endtime.getMonth(),endtime.getDate()),//设置结束日期 

    }); 
      
     dtPicker.show(function(items) { //点击日期确定方法
     
     document.getElementById("selectData").value =items.text;//取到的值放到Text里
     document.getElementById("qishishijian").value ="";
     document.getElementById("jiezhishijian").value ="";
     document.getElementById("qishishijian").removeAttribute("disabled");
     document.getElementById("jiezhishijian").setAttribute('disabled','disabled');
     //document.getElementById("warning2").style.cssText ="visibility:hidden;"
     click_reminder();

     
     });
     }


      function dianji_qishishijian(){        //点击选择日期方法
        var xuanze_year=document.getElementById("selectData").value.substring(0,4);
        var xuanze_month=document.getElementById("selectData").value.substring(5,7);
        var xuanze_day=document.getElementById("selectData").value.substring(8);
        var xuanzeriqi = new Date(xuanze_year,xuanze_month-1,xuanze_day); 
        //alert(xuanzeriqi.getDay());
           if(xuanzeriqi.getDay()==0||xuanzeriqi.getDay()==6){
                   var picker = new mui.PopPicker({
            layer: 2
            
        });
            
            picker.setData([{
                value: '120000',
                text: '08时',
               children: [
                   {
                    value: "08:30",
                    text: "30分"
                }, {
                    value: "08:31",
                    text: "31分"
                }, {
                    value: "08:32",
                    text: "32分"
                }, {
                    value: "08:33",
                    text: "33分"
                }, {
                    value: "08:34",
                    text: "34分"
                }, {
                    value: "08:35",
                    text: "35分"
                }, {
                    value: "08:36",
                    text: "36分"
                }, {
                    value: "08:37",
                    text: "37分"
                }, {
                    value: "08:38",
                    text: "38分"
                }, {
                    value: "08:39",
                    text: "39分"
                }, {
                    value: "08:40",
                    text: "40分"
                }, {
                    value: "08:41",
                    text: "41分"
                }, {
                    value: "08:42",
                    text: "42分"
                }, {
                    value: "08:43",
                    text: "43分"
                }, {
                    value: "08:44",
                    text: "44分"
                }, {
                    value: "08:45",
                    text: "45分"
                }, {
                    value: "08:46",
                    text: "46分"
                }, {
                    value: "08:47",
                    text: "47分"
                }, {
                    value: "08:48",
                    text: "48分"
                }, {
                    value: "08:49",
                    text: "49分"
                }, {
                    value: "08:50",
                    text: "50分"
                }, {
                    value: "08:51",
                    text: "51分"
                }, {
                    value: "08:52",
                    text: "52分"
                }, {
                    value: "08:53",
                    text: "53分"
                }, {
                    value: "08:54",
                    text: "54分"
                }, {
                    value: "08:55",
                    text: "55分"
                }, {
                    value: "08:56",
                    text: "56分"
                }, {
                    value: "08:57",
                    text: "57分"
                }, {
                    value: "08:58",
                    text: "58分"
                }, {
                    value: "08:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '09时',
               children: [
                   {
                    value: "09:00",
                    text: "00分"
                }, {
                    value: "09:01",
                    text: "01分"
                }, {
                    value: "09:02",
                    text: "02分"
                }, {
                    value: "09:03",
                    text: "03分"
                }, {
                    value: "09:04",
                    text: "04分"
                }, {
                    value: "09:05",
                    text: "05分"
                }, {
                    value: "09:06",
                    text: "06分"
                }, {
                    value: "09:07",
                    text: "07分"
                }, {
                    value: "09:08",
                    text: "08分"
                }, {
                    value: "09:09",
                    text: "09分"
                }, {
                    value: "09:10",
                    text: "10分"
                }, {
                    value: "09:11",
                    text: "11分"
                }, {
                    value: "09:12",
                    text: "12分"
                }, {
                    value: "09:13",
                    text: "13分"
                }, {
                    value: "09:14",
                    text: "14分"
                }, {
                    value: "09:15",
                    text: "15分"
                }, {
                    value: "09:16",
                    text: "16分"
                }, {
                    value: "09:17",
                    text: "17分"
                }, {
                    value: "09:18",
                    text: "18分"
                }, {
                    value: "09:19",
                    text: "19分"
                }, {
                    value: "09:20",
                    text: "20分"
                }, {
                    value: "09:21",
                    text: "21分"
                }, {
                    value: "09:22",
                    text: "22分"
                }, {
                    value: "09:23",
                    text: "23分"
                }, {
                    value: "09:24",
                    text: "24分"
                }, {
                    value: "09:25",
                    text: "25分"
                }, {
                    value: "09:26",
                    text: "26分"
                }, {
                    value: "09:27",
                    text: "27分"
                }, {
                    value: "09:28",
                    text: "28分"
                }, {
                    value: "09:29",
                    text: "29分"
                }, {
                    value: "09:30",
                    text: "30分"
                }, {
                    value: "09:31",
                    text: "31分"
                }, {
                    value: "09:32",
                    text: "32分"
                }, {
                    value: "09:33",
                    text: "33分"
                }, {
                    value: "09:34",
                    text: "34分"
                }, {
                    value: "09:35",
                    text: "35分"
                }, {
                    value: "09:36",
                    text: "36分"
                }, {
                    value: "09:37",
                    text: "37分"
                }, {
                    value: "09:38",
                    text: "38分"
                }, {
                    value: "09:39",
                    text: "39分"
                }, {
                    value: "09:40",
                    text: "40分"
                }, {
                    value: "09:41",
                    text: "41分"
                }, {
                    value: "09:42",
                    text: "42分"
                }, {
                    value: "09:43",
                    text: "43分"
                }, {
                    value: "09:44",
                    text: "44分"
                }, {
                    value: "09:45",
                    text: "45分"
                }, {
                    value: "09:46",
                    text: "46分"
                }, {
                    value: "09:47",
                    text: "47分"
                }, {
                    value: "09:48",
                    text: "48分"
                }, {
                    value: "09:49",
                    text: "49分"
                }, {
                    value: "09:50",
                    text: "50分"
                }, {
                    value: "09:51",
                    text: "51分"
                }, {
                    value: "09:52",
                    text: "52分"
                }, {
                    value: "09:53",
                    text: "53分"
                }, {
                    value: "09:54",
                    text: "54分"
                }, {
                    value: "09:55",
                    text: "55分"
                }, {
                    value: "09:56",
                    text: "56分"
                }, {
                    value: "09:57",
                    text: "57分"
                }, {
                    value: "09:58",
                    text: "58分"
                }, {
                    value: "09:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '10时',
               children: [
                   {
                    value: "10:00",
                    text: "00分"
                }, {
                    value: "10:01",
                    text: "01分"
                }, {
                    value: "10:02",
                    text: "02分"
                }, {
                    value: "10:03",
                    text: "03分"
                }, {
                    value: "10:04",
                    text: "04分"
                }, {
                    value: "10:05",
                    text: "05分"
                }, {
                    value: "10:06",
                    text: "06分"
                }, {
                    value: "10:07",
                    text: "07分"
                }, {
                    value: "10:08",
                    text: "08分"
                }, {
                    value: "10:09",
                    text: "09分"
                }, {
                    value: "10:10",
                    text: "10分"
                }, {
                    value: "10:11",
                    text: "11分"
                }, {
                    value: "10:12",
                    text: "12分"
                }, {
                    value: "10:13",
                    text: "13分"
                }, {
                    value: "10:14",
                    text: "14分"
                }, {
                    value: "10:15",
                    text: "15分"
                }, {
                    value: "10:16",
                    text: "16分"
                }, {
                    value: "10:17",
                    text: "17分"
                }, {
                    value: "10:18",
                    text: "18分"
                }, {
                    value: "10:19",
                    text: "19分"
                }, {
                    value: "10:20",
                    text: "20分"
                }, {
                    value: "10:21",
                    text: "21分"
                }, {
                    value: "10:22",
                    text: "22分"
                }, {
                    value: "10:23",
                    text: "23分"
                }, {
                    value: "10:24",
                    text: "24分"
                }, {
                    value: "10:25",
                    text: "25分"
                }, {
                    value: "10:26",
                    text: "26分"
                }, {
                    value: "10:27",
                    text: "27分"
                }, {
                    value: "10:28",
                    text: "28分"
                }, {
                    value: "10:29",
                    text: "29分"
                }, {
                    value: "10:30",
                    text: "30分"
                }, {
                    value: "10:31",
                    text: "31分"
                }, {
                    value: "10:32",
                    text: "32分"
                }, {
                    value: "10:33",
                    text: "33分"
                }, {
                    value: "10:34",
                    text: "34分"
                }, {
                    value: "10:35",
                    text: "35分"
                }, {
                    value: "10:36",
                    text: "36分"
                }, {
                    value: "10:37",
                    text: "37分"
                }, {
                    value: "10:38",
                    text: "38分"
                }, {
                    value: "10:39",
                    text: "39分"
                }, {
                    value: "10:40",
                    text: "40分"
                }, {
                    value: "10:41",
                    text: "41分"
                }, {
                    value: "10:42",
                    text: "42分"
                }, {
                    value: "10:43",
                    text: "43分"
                }, {
                    value: "10:44",
                    text: "44分"
                }, {
                    value: "10:45",
                    text: "45分"
                }, {
                    value: "10:46",
                    text: "46分"
                }, {
                    value: "10:47",
                    text: "47分"
                }, {
                    value: "10:48",
                    text: "48分"
                }, {
                    value: "10:49",
                    text: "49分"
                }, {
                    value: "10:50",
                    text: "50分"
                }, {
                    value: "10:51",
                    text: "51分"
                }, {
                    value: "10:52",
                    text: "52分"
                }, {
                    value: "10:53",
                    text: "53分"
                }, {
                    value: "10:54",
                    text: "54分"
                }, {
                    value: "10:55",
                    text: "55分"
                }, {
                    value: "10:56",
                    text: "56分"
                }, {
                    value: "10:57",
                    text: "57分"
                }, {
                    value: "10:58",
                    text: "58分"
                }, {
                    value: "10:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '11时',
               children: [
                   {
                    value: "11:00",
                    text: "00分"
                }, {
                    value: "11:01",
                    text: "01分"
                }, {
                    value: "11:02",
                    text: "02分"
                }, {
                    value: "11:03",
                    text: "03分"
                }, {
                    value: "11:04",
                    text: "04分"
                }, {
                    value: "11:05",
                    text: "05分"
                }, {
                    value: "11:06",
                    text: "06分"
                }, {
                    value: "11:07",
                    text: "07分"
                }, {
                    value: "11:08",
                    text: "08分"
                }, {
                    value: "11:09",
                    text: "09分"
                }, {
                    value: "11:10",
                    text: "10分"
                }, {
                    value: "11:11",
                    text: "11分"
                }, {
                    value: "11:12",
                    text: "12分"
                }, {
                    value: "11:13",
                    text: "13分"
                }, {
                    value: "11:14",
                    text: "14分"
                }, {
                    value: "11:15",
                    text: "15分"
                }, {
                    value: "11:16",
                    text: "16分"
                }, {
                    value: "11:17",
                    text: "17分"
                }, {
                    value: "11:18",
                    text: "18分"
                }, {
                    value: "11:19",
                    text: "19分"
                }, {
                    value: "11:20",
                    text: "20分"
                }, {
                    value: "11:21",
                    text: "21分"
                }, {
                    value: "11:22",
                    text: "22分"
                }, {
                    value: "11:23",
                    text: "23分"
                }, {
                    value: "11:24",
                    text: "24分"
                }, {
                    value: "11:25",
                    text: "25分"
                }, {
                    value: "11:26",
                    text: "26分"
                }, {
                    value: "11:27",
                    text: "27分"
                }, {
                    value: "11:28",
                    text: "28分"
                }, {
                    value: "11:29",
                    text: "29分"
                }, {
                    value: "11:30",
                    text: "30分"
                }, {
                    value: "11:31",
                    text: "31分"
                }, {
                    value: "11:32",
                    text: "32分"
                }, {
                    value: "11:33",
                    text: "33分"
                }, {
                    value: "11:34",
                    text: "34分"
                }, {
                    value: "11:35",
                    text: "35分"
                }, {
                    value: "11:36",
                    text: "36分"
                }, {
                    value: "11:37",
                    text: "37分"
                }, {
                    value: "11:38",
                    text: "38分"
                }, {
                    value: "11:39",
                    text: "39分"
                }, {
                    value: "11:40",
                    text: "40分"
                }, {
                    value: "11:41",
                    text: "41分"
                }, {
                    value: "11:42",
                    text: "42分"
                }, {
                    value: "11:43",
                    text: "43分"
                }, {
                    value: "11:44",
                    text: "44分"
                }, {
                    value: "11:45",
                    text: "45分"
                }, {
                    value: "11:46",
                    text: "46分"
                }, {
                    value: "11:47",
                    text: "47分"
                }, {
                    value: "11:48",
                    text: "48分"
                }, {
                    value: "11:49",
                    text: "49分"
                }, {
                    value: "11:50",
                    text: "50分"
                }, {
                    value: "11:51",
                    text: "51分"
                }, {
                    value: "11:52",
                    text: "52分"
                }, {
                    value: "11:53",
                    text: "53分"
                }, {
                    value: "11:54",
                    text: "54分"
                }, {
                    value: "11:55",
                    text: "55分"
                }, {
                    value: "11:56",
                    text: "56分"
                }, {
                    value: "11:57",
                    text: "57分"
                }, {
                    value: "11:58",
                    text: "58分"
                }, {
                    value: "11:59",
                    text: "59分"
                }]
            }, {
                value: '120000',
                text: '12时',
               children: [
                   {
                    value: "12:00",
                    text: "00分"
                }, {
                    value: "12:01",
                    text: "01分"
                }, {
                    value: "12:02",
                    text: "02分"
                }, {
                    value: "12:03",
                    text: "03分"
                }, {
                    value: "12:04",
                    text: "04分"
                }, {
                    value: "12:05",
                    text: "05分"
                }, {
                    value: "12:06",
                    text: "06分"
                }, {
                    value: "12:07",
                    text: "07分"
                }, {
                    value: "12:08",
                    text: "08分"
                }, {
                    value: "12:09",
                    text: "09分"
                }, {
                    value: "12:10",
                    text: "10分"
                }, {
                    value: "12:11",
                    text: "11分"
                }, {
                    value: "12:12",
                    text: "12分"
                }, {
                    value: "12:13",
                    text: "13分"
                }, {
                    value: "12:14",
                    text: "14分"
                }, {
                    value: "12:15",
                    text: "15分"
                }, {
                    value: "12:16",
                    text: "16分"
                }, {
                    value: "12:17",
                    text: "17分"
                }, {
                    value: "12:18",
                    text: "18分"
                }, {
                    value: "12:19",
                    text: "19分"
                }, {
                    value: "12:20",
                    text: "20分"
                }, {
                    value: "12:21",
                    text: "21分"
                }, {
                    value: "12:22",
                    text: "22分"
                }, {
                    value: "12:23",
                    text: "23分"
                }, {
                    value: "12:24",
                    text: "24分"
                }, {
                    value: "12:25",
                    text: "25分"
                }, {
                    value: "12:26",
                    text: "26分"
                }, {
                    value: "12:27",
                    text: "27分"
                }, {
                    value: "12:28",
                    text: "28分"
                }, {
                    value: "12:29",
                    text: "29分"
                }, {
                    value: "12:30",
                    text: "30分"
                }, {
                    value: "12:31",
                    text: "31分"
                }, {
                    value: "12:32",
                    text: "32分"
                }, {
                    value: "12:33",
                    text: "33分"
                }, {
                    value: "12:34",
                    text: "34分"
                }, {
                    value: "12:35",
                    text: "35分"
                }, {
                    value: "12:36",
                    text: "36分"
                }, {
                    value: "12:37",
                    text: "37分"
                }, {
                    value: "12:38",
                    text: "38分"
                }, {
                    value: "12:39",
                    text: "39分"
                }, {
                    value: "12:40",
                    text: "40分"
                }, {
                    value: "12:41",
                    text: "41分"
                }, {
                    value: "12:42",
                    text: "42分"
                }, {
                    value: "12:43",
                    text: "43分"
                }, {
                    value: "12:44",
                    text: "44分"
                }, {
                    value: "12:45",
                    text: "45分"
                }, {
                    value: "12:46",
                    text: "46分"
                }, {
                    value: "12:47",
                    text: "47分"
                }, {
                    value: "12:48",
                    text: "48分"
                }, {
                    value: "12:49",
                    text: "49分"
                }, {
                    value: "12:50",
                    text: "50分"
                }, {
                    value: "12:51",
                    text: "51分"
                }, {
                    value: "12:52",
                    text: "52分"
                }, {
                    value: "12:53",
                    text: "53分"
                }, {
                    value: "12:54",
                    text: "54分"
                }, {
                    value: "12:55",
                    text: "55分"
                }, {
                    value: "12:56",
                    text: "56分"
                }, {
                    value: "12:57",
                    text: "57分"
                }, {
                    value: "12:58",
                    text: "58分"
                }, {
                    value: "12:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '13时',
               children: [
                   {
                    value: "13:00",
                    text: "00分"
                }, {
                    value: "13:01",
                    text: "01分"
                }, {
                    value: "13:02",
                    text: "02分"
                }, {
                    value: "13:03",
                    text: "03分"
                }, {
                    value: "13:04",
                    text: "04分"
                }, {
                    value: "13:05",
                    text: "05分"
                }, {
                    value: "13:06",
                    text: "06分"
                }, {
                    value: "13:07",
                    text: "07分"
                }, {
                    value: "13:08",
                    text: "08分"
                }, {
                    value: "13:09",
                    text: "09分"
                }, {
                    value: "13:10",
                    text: "10分"
                }, {
                    value: "13:11",
                    text: "11分"
                }, {
                    value: "13:12",
                    text: "12分"
                }, {
                    value: "13:13",
                    text: "13分"
                }, {
                    value: "13:14",
                    text: "14分"
                }, {
                    value: "13:15",
                    text: "15分"
                }, {
                    value: "13:16",
                    text: "16分"
                }, {
                    value: "13:17",
                    text: "17分"
                }, {
                    value: "13:18",
                    text: "18分"
                }, {
                    value: "13:19",
                    text: "19分"
                }, {
                    value: "13:20",
                    text: "20分"
                }, {
                    value: "13:21",
                    text: "21分"
                }, {
                    value: "13:22",
                    text: "22分"
                }, {
                    value: "13:23",
                    text: "23分"
                }, {
                    value: "13:24",
                    text: "24分"
                }, {
                    value: "13:25",
                    text: "25分"
                }, {
                    value: "13:26",
                    text: "26分"
                }, {
                    value: "13:27",
                    text: "27分"
                }, {
                    value: "13:28",
                    text: "28分"
                }, {
                    value: "13:29",
                    text: "29分"
                }, {
                    value: "13:30",
                    text: "30分"
                }, {
                    value: "13:31",
                    text: "31分"
                }, {
                    value: "13:32",
                    text: "32分"
                }, {
                    value: "13:33",
                    text: "33分"
                }, {
                    value: "13:34",
                    text: "34分"
                }, {
                    value: "13:35",
                    text: "35分"
                }, {
                    value: "13:36",
                    text: "36分"
                }, {
                    value: "13:37",
                    text: "37分"
                }, {
                    value: "13:38",
                    text: "38分"
                }, {
                    value: "13:39",
                    text: "39分"
                }, {
                    value: "13:40",
                    text: "40分"
                }, {
                    value: "13:41",
                    text: "41分"
                }, {
                    value: "13:42",
                    text: "42分"
                }, {
                    value: "13:43",
                    text: "43分"
                }, {
                    value: "13:44",
                    text: "44分"
                }, {
                    value: "13:45",
                    text: "45分"
                }, {
                    value: "13:46",
                    text: "46分"
                }, {
                    value: "13:47",
                    text: "47分"
                }, {
                    value: "13:48",
                    text: "48分"
                }, {
                    value: "13:49",
                    text: "49分"
                }, {
                    value: "13:50",
                    text: "50分"
                }, {
                    value: "13:51",
                    text: "51分"
                }, {
                    value: "13:52",
                    text: "52分"
                }, {
                    value: "13:53",
                    text: "53分"
                }, {
                    value: "13:54",
                    text: "54分"
                }, {
                    value: "13:55",
                    text: "55分"
                }, {
                    value: "13:56",
                    text: "56分"
                }, {
                    value: "13:57",
                    text: "57分"
                }, {
                    value: "13:58",
                    text: "58分"
                }, {
                    value: "13:59",
                    text: "59分"
                }]
            }, {
                value: '120000',
                text: '14时',
               children: [
                   {
                    value: "14:00",
                    text: "00分"
                }, {
                    value: "14:01",
                    text: "01分"
                }, {
                    value: "14:02",
                    text: "02分"
                }, {
                    value: "14:03",
                    text: "03分"
                }, {
                    value: "14:04",
                    text: "04分"
                }, {
                    value: "14:05",
                    text: "05分"
                }, {
                    value: "14:06",
                    text: "06分"
                }, {
                    value: "14:07",
                    text: "07分"
                }, {
                    value: "14:08",
                    text: "08分"
                }, {
                    value: "14:09",
                    text: "09分"
                }, {
                    value: "14:10",
                    text: "10分"
                }, {
                    value: "14:11",
                    text: "11分"
                }, {
                    value: "14:12",
                    text: "12分"
                }, {
                    value: "14:13",
                    text: "13分"
                }, {
                    value: "14:14",
                    text: "14分"
                }, {
                    value: "14:15",
                    text: "15分"
                }, {
                    value: "14:16",
                    text: "16分"
                }, {
                    value: "14:17",
                    text: "17分"
                }, {
                    value: "14:18",
                    text: "18分"
                }, {
                    value: "14:19",
                    text: "19分"
                }, {
                    value: "14:20",
                    text: "20分"
                }, {
                    value: "14:21",
                    text: "21分"
                }, {
                    value: "14:22",
                    text: "22分"
                }, {
                    value: "14:23",
                    text: "23分"
                }, {
                    value: "14:24",
                    text: "24分"
                }, {
                    value: "14:25",
                    text: "25分"
                }, {
                    value: "14:26",
                    text: "26分"
                }, {
                    value: "14:27",
                    text: "27分"
                }, {
                    value: "14:28",
                    text: "28分"
                }, {
                    value: "14:29",
                    text: "29分"
                }, {
                    value: "14:30",
                    text: "30分"
                }, {
                    value: "14:31",
                    text: "31分"
                }, {
                    value: "14:32",
                    text: "32分"
                }, {
                    value: "14:33",
                    text: "33分"
                }, {
                    value: "14:34",
                    text: "34分"
                }, {
                    value: "14:35",
                    text: "35分"
                }, {
                    value: "14:36",
                    text: "36分"
                }, {
                    value: "14:37",
                    text: "37分"
                }, {
                    value: "14:38",
                    text: "38分"
                }, {
                    value: "14:39",
                    text: "39分"
                }, {
                    value: "14:40",
                    text: "40分"
                }, {
                    value: "14:41",
                    text: "41分"
                }, {
                    value: "14:42",
                    text: "42分"
                }, {
                    value: "14:43",
                    text: "43分"
                }, {
                    value: "14:44",
                    text: "44分"
                }, {
                    value: "14:45",
                    text: "45分"
                }, {
                    value: "14:46",
                    text: "46分"
                }, {
                    value: "14:47",
                    text: "47分"
                }, {
                    value: "14:48",
                    text: "48分"
                }, {
                    value: "14:49",
                    text: "49分"
                }, {
                    value: "14:50",
                    text: "50分"
                }, {
                    value: "14:51",
                    text: "51分"
                }, {
                    value: "14:52",
                    text: "52分"
                }, {
                    value: "14:53",
                    text: "53分"
                }, {
                    value: "14:54",
                    text: "54分"
                }, {
                    value: "14:55",
                    text: "55分"
                }, {
                    value: "14:56",
                    text: "56分"
                }, {
                    value: "14:57",
                    text: "57分"
                }, {
                    value: "14:58",
                    text: "58分"
                }, {
                    value: "14:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '15时',
               children: [
                   {
                    value: "15:00",
                    text: "00分"
                }, {
                    value: "15:01",
                    text: "01分"
                }, {
                    value: "15:02",
                    text: "02分"
                }, {
                    value: "15:03",
                    text: "03分"
                }, {
                    value: "15:04",
                    text: "04分"
                }, {
                    value: "15:05",
                    text: "05分"
                }, {
                    value: "15:06",
                    text: "06分"
                }, {
                    value: "15:07",
                    text: "07分"
                }, {
                    value: "15:08",
                    text: "08分"
                }, {
                    value: "15:09",
                    text: "09分"
                }, {
                    value: "15:10",
                    text: "10分"
                }, {
                    value: "15:11",
                    text: "11分"
                }, {
                    value: "15:12",
                    text: "12分"
                }, {
                    value: "15:13",
                    text: "13分"
                }, {
                    value: "15:14",
                    text: "14分"
                }, {
                    value: "15:15",
                    text: "15分"
                }, {
                    value: "15:16",
                    text: "16分"
                }, {
                    value: "15:17",
                    text: "17分"
                }, {
                    value: "15:18",
                    text: "18分"
                }, {
                    value: "15:19",
                    text: "19分"
                }, {
                    value: "15:20",
                    text: "20分"
                }, {
                    value: "15:21",
                    text: "21分"
                }, {
                    value: "15:22",
                    text: "22分"
                }, {
                    value: "15:23",
                    text: "23分"
                }, {
                    value: "15:24",
                    text: "24分"
                }, {
                    value: "15:25",
                    text: "25分"
                }, {
                    value: "15:26",
                    text: "26分"
                }, {
                    value: "15:27",
                    text: "27分"
                }, {
                    value: "15:28",
                    text: "28分"
                }, {
                    value: "15:29",
                    text: "29分"
                }, {
                    value: "15:30",
                    text: "30分"
                }, {
                    value: "15:31",
                    text: "31分"
                }, {
                    value: "15:32",
                    text: "32分"
                }, {
                    value: "15:33",
                    text: "33分"
                }, {
                    value: "15:34",
                    text: "34分"
                }, {
                    value: "15:35",
                    text: "35分"
                }, {
                    value: "15:36",
                    text: "36分"
                }, {
                    value: "15:37",
                    text: "37分"
                }, {
                    value: "15:38",
                    text: "38分"
                }, {
                    value: "15:39",
                    text: "39分"
                }, {
                    value: "15:40",
                    text: "40分"
                }, {
                    value: "15:41",
                    text: "41分"
                }, {
                    value: "15:42",
                    text: "42分"
                }, {
                    value: "15:43",
                    text: "43分"
                }, {
                    value: "15:44",
                    text: "44分"
                }, {
                    value: "15:45",
                    text: "45分"
                }, {
                    value: "15:46",
                    text: "46分"
                }, {
                    value: "15:47",
                    text: "47分"
                }, {
                    value: "15:48",
                    text: "48分"
                }, {
                    value: "15:49",
                    text: "49分"
                }, {
                    value: "15:50",
                    text: "50分"
                }, {
                    value: "15:51",
                    text: "51分"
                }, {
                    value: "15:52",
                    text: "52分"
                }, {
                    value: "15:53",
                    text: "53分"
                }, {
                    value: "15:54",
                    text: "54分"
                }, {
                    value: "15:55",
                    text: "55分"
                }, {
                    value: "15:56",
                    text: "56分"
                }, {
                    value: "15:57",
                    text: "57分"
                }, {
                    value: "15:58",
                    text: "58分"
                }, {
                    value: "15:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '16时',
                children: [
                   {
                    value: "16:00",
                    text: "00分"
                }, {
                    value: "16:01",
                    text: "01分"
                }, {
                    value: "16:02",
                    text: "02分"
                }, {
                    value: "16:03",
                    text: "03分"
                }, {
                    value: "16:04",
                    text: "04分"
                }, {
                    value: "16:05",
                    text: "05分"
                }, {
                    value: "16:06",
                    text: "06分"
                }, {
                    value: "16:07",
                    text: "07分"
                }, {
                    value: "16:08",
                    text: "08分"
                }, {
                    value: "16:09",
                    text: "09分"
                }, {
                    value: "16:10",
                    text: "10分"
                }, {
                    value: "16:11",
                    text: "11分"
                }, {
                    value: "16:12",
                    text: "12分"
                }, {
                    value: "16:13",
                    text: "13分"
                }, {
                    value: "16:14",
                    text: "14分"
                }, {
                    value: "16:15",
                    text: "15分"
                }, {
                    value: "16:16",
                    text: "16分"
                }, {
                    value: "16:17",
                    text: "17分"
                }, {
                    value: "16:18",
                    text: "18分"
                }, {
                    value: "16:19",
                    text: "19分"
                }, {
                    value: "16:20",
                    text: "20分"
                }, {
                    value: "16:21",
                    text: "21分"
                }, {
                    value: "16:22",
                    text: "22分"
                }, {
                    value: "16:23",
                    text: "23分"
                }, {
                    value: "16:24",
                    text: "24分"
                }, {
                    value: "16:25",
                    text: "25分"
                }, {
                    value: "16:26",
                    text: "26分"
                }, {
                    value: "16:27",
                    text: "27分"
                }, {
                    value: "16:28",
                    text: "28分"
                }, {
                    value: "16:29",
                    text: "29分"
                }, {
                    value: "16:30",
                    text: "30分"
                }, {
                    value: "16:31",
                    text: "31分"
                }, {
                    value: "16:32",
                    text: "32分"
                }, {
                    value: "16:33",
                    text: "33分"
                }, {
                    value: "16:34",
                    text: "34分"
                }, {
                    value: "16:35",
                    text: "35分"
                }, {
                    value: "16:36",
                    text: "36分"
                }, {
                    value: "16:37",
                    text: "37分"
                }, {
                    value: "16:38",
                    text: "38分"
                }, {
                    value: "16:39",
                    text: "39分"
                }, {
                    value: "16:40",
                    text: "40分"
                }, {
                    value: "16:41",
                    text: "41分"
                }, {
                    value: "16:42",
                    text: "42分"
                }, {
                    value: "16:43",
                    text: "43分"
                }, {
                    value: "16:44",
                    text: "44分"
                }, {
                    value: "16:45",
                    text: "45分"
                }, {
                    value: "16:46",
                    text: "46分"
                }, {
                    value: "16:47",
                    text: "47分"
                }, {
                    value: "16:48",
                    text: "48分"
                }, {
                    value: "16:49",
                    text: "49分"
                }, {
                    value: "16:50",
                    text: "50分"
                }, {
                    value: "16:51",
                    text: "51分"
                }, {
                    value: "16:52",
                    text: "52分"
                }, {
                    value: "16:53",
                    text: "53分"
                }, {
                    value: "16:54",
                    text: "54分"
                }, {
                    value: "16:55",
                    text: "55分"
                }, {
                    value: "16:56",
                    text: "56分"
                }, {
                    value: "16:57",
                    text: "57分"
                }, {
                    value: "16:58",
                    text: "58分"
                }, {
                    value: "16:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '17时',
                children: [
                   {
                    value: "17:00",
                    text: "00分"
                }, {
                    value: "17:01",
                    text: "01分"
                }, {
                    value: "17:02",
                    text: "02分"
                }, {
                    value: "17:03",
                    text: "03分"
                }, {
                    value: "17:04",
                    text: "04分"
                }, {
                    value: "17:05",
                    text: "05分"
                }, {
                    value: "17:06",
                    text: "06分"
                }, {
                    value: "17:07",
                    text: "07分"
                }, {
                    value: "17:08",
                    text: "08分"
                }, {
                    value: "17:09",
                    text: "09分"
                }, {
                    value: "17:10",
                    text: "10分"
                }, {
                    value: "17:11",
                    text: "11分"
                }, {
                    value: "17:12",
                    text: "12分"
                }, {
                    value: "17:13",
                    text: "13分"
                }, {
                    value: "17:14",
                    text: "14分"
                }, {
                    value: "17:15",
                    text: "15分"
                }, {
                    value: "17:16",
                    text: "16分"
                }, {
                    value: "17:17",
                    text: "17分"
                }, {
                    value: "17:18",
                    text: "18分"
                }, {
                    value: "17:19",
                    text: "19分"
                }, {
                    value: "17:20",
                    text: "20分"
                }, {
                    value: "17:21",
                    text: "21分"
                }, {
                    value: "17:22",
                    text: "22分"
                }, {
                    value: "17:23",
                    text: "23分"
                }, {
                    value: "17:24",
                    text: "24分"
                }, {
                    value: "17:25",
                    text: "25分"
                }, {
                    value: "17:26",
                    text: "26分"
                }, {
                    value: "17:27",
                    text: "27分"
                }, {
                    value: "17:28",
                    text: "28分"
                }, {
                    value: "17:29",
                    text: "29分"
                }]
            }  ])
        picker.pickers[0].setSelectedIndex(0);
        picker.pickers[0].setSelectedIndex(0);
        picker.show(function(items) {

        document.getElementById("qishishijian").value =items[1].value;
        document.getElementById("jiezhishijian").value ="";
        document.getElementById("jiezhishijian").removeAttribute("disabled");//清空并解锁
        //document.getElementById("warning2").style.cssText ="visibility:hidden;"
        })
           }else{
             var picker = new mui.PopPicker({
            layer: 2
            
        });
            
            picker.setData([{
                value: '120000',
                text: '12时',
               children: [
                   {
                    value: "12:00",
                    text: "00分"
                }, {
                    value: "12:01",
                    text: "01分"
                }, {
                    value: "12:02",
                    text: "02分"
                }, {
                    value: "12:03",
                    text: "03分"
                }, {
                    value: "12:04",
                    text: "04分"
                }, {
                    value: "12:05",
                    text: "05分"
                }, {
                    value: "12:06",
                    text: "06分"
                }, {
                    value: "12:07",
                    text: "07分"
                }, {
                    value: "12:08",
                    text: "08分"
                }, {
                    value: "12:09",
                    text: "09分"
                }, {
                    value: "12:10",
                    text: "10分"
                }, {
                    value: "12:11",
                    text: "11分"
                }, {
                    value: "12:12",
                    text: "12分"
                }, {
                    value: "12:13",
                    text: "13分"
                }, {
                    value: "12:14",
                    text: "14分"
                }, {
                    value: "12:15",
                    text: "15分"
                }, {
                    value: "12:16",
                    text: "16分"
                }, {
                    value: "12:17",
                    text: "17分"
                }, {
                    value: "12:18",
                    text: "18分"
                }, {
                    value: "12:19",
                    text: "19分"
                }, {
                    value: "12:20",
                    text: "20分"
                }, {
                    value: "12:21",
                    text: "21分"
                }, {
                    value: "12:22",
                    text: "22分"
                }, {
                    value: "12:23",
                    text: "23分"
                }, {
                    value: "12:24",
                    text: "24分"
                }, {
                    value: "12:25",
                    text: "25分"
                }, {
                    value: "12:26",
                    text: "26分"
                }, {
                    value: "12:27",
                    text: "27分"
                }, {
                    value: "12:28",
                    text: "28分"
                }, {
                    value: "12:29",
                    text: "29分"
                }, {
                    value: "12:30",
                    text: "30分"
                }, {
                    value: "12:31",
                    text: "31分"
                }, {
                    value: "12:32",
                    text: "32分"
                }, {
                    value: "12:33",
                    text: "33分"
                }, {
                    value: "12:34",
                    text: "34分"
                }, {
                    value: "12:35",
                    text: "35分"
                }, {
                    value: "12:36",
                    text: "36分"
                }, {
                    value: "12:37",
                    text: "37分"
                }, {
                    value: "12:38",
                    text: "38分"
                }, {
                    value: "12:39",
                    text: "39分"
                }, {
                    value: "12:40",
                    text: "40分"
                }, {
                    value: "12:41",
                    text: "41分"
                }, {
                    value: "12:42",
                    text: "42分"
                }, {
                    value: "12:43",
                    text: "43分"
                }, {
                    value: "12:44",
                    text: "44分"
                }, {
                    value: "12:45",
                    text: "45分"
                }, {
                    value: "12:46",
                    text: "46分"
                }, {
                    value: "12:47",
                    text: "47分"
                }, {
                    value: "12:48",
                    text: "48分"
                }, {
                    value: "12:49",
                    text: "49分"
                }, {
                    value: "12:50",
                    text: "50分"
                }, {
                    value: "12:51",
                    text: "51分"
                }, {
                    value: "12:52",
                    text: "52分"
                }, {
                    value: "12:53",
                    text: "53分"
                }, {
                    value: "12:54",
                    text: "54分"
                }, {
                    value: "12:55",
                    text: "55分"
                }, {
                    value: "12:56",
                    text: "56分"
                }, {
                    value: "12:57",
                    text: "57分"
                }, {
                    value: "12:58",
                    text: "58分"
                }, {
                    value: "12:59",
                    text: "59分"
                }]
            }, {
                value: '120000',
                text: '17时',
                children: [
                  {
                    value: "17:30",
                    text: "30分"
                }, {
                    value: "17:31",
                    text: "31分"
                }, {
                    value: "17:32",
                    text: "32分"
                }, {
                    value: "17:33",
                    text: "33分"
                }, {
                    value: "17:34",
                    text: "34分"
                }, {
                    value: "17:35",
                    text: "35分"
                }, {
                    value: "17:36",
                    text: "36分"
                }, {
                    value: "17:37",
                    text: "37分"
                }, {
                    value: "17:38",
                    text: "38分"
                }, {
                    value: "17:39",
                    text: "39分"
                }, {
                    value: "17:40",
                    text: "40分"
                }, {
                    value: "17:41",
                    text: "41分"
                }, {
                    value: "17:42",
                    text: "42分"
                }, {
                    value: "17:43",
                    text: "43分"
                }, {
                    value: "17:44",
                    text: "44分"
                }, {
                    value: "17:45",
                    text: "45分"
                }, {
                    value: "17:46",
                    text: "46分"
                }, {
                    value: "17:47",
                    text: "47分"
                }, {
                    value: "17:48",
                    text: "48分"
                }, {
                    value: "17:49",
                    text: "49分"
                }, {
                    value: "17:50",
                    text: "50分"
                }, {
                    value: "17:51",
                    text: "51分"
                }, {
                    value: "17:52",
                    text: "52分"
                }, {
                    value: "17:53",
                    text: "53分"
                }, {
                    value: "17:54",
                    text: "54分"
                }, {
                    value: "17:55",
                    text: "55分"
                }, {
                    value: "17:56",
                    text: "56分"
                }, {
                    value: "17:57",
                    text: "57分"
                }, {
                    value: "17:58",
                    text: "58分"
                }, {
                    value: "17:59",
                    text: "59分"
                }]
            }, {
                value: '120000',
                text: '18时',
                children: [
                   {
                    value: "18:00",
                    text: "00分"
                }, {
                    value: "18:01",
                    text: "01分"
                }, {
                    value: "18:02",
                    text: "02分"
                }, {
                    value: "18:03",
                    text: "03分"
                }, {
                    value: "18:04",
                    text: "04分"
                }, {
                    value: "18:05",
                    text: "05分"
                }, {
                    value: "18:06",
                    text: "06分"
                }, {
                    value: "18:07",
                    text: "07分"
                }, {
                    value: "18:08",
                    text: "08分"
                }, {
                    value: "18:09",
                    text: "09分"
                }, {
                    value: "18:10",
                    text: "10分"
                }, {
                    value: "18:11",
                    text: "11分"
                }, {
                    value: "18:12",
                    text: "12分"
                }, {
                    value: "18:13",
                    text: "13分"
                }, {
                    value: "18:14",
                    text: "14分"
                }, {
                    value: "18:15",
                    text: "15分"
                }, {
                    value: "18:16",
                    text: "16分"
                }, {
                    value: "18:17",
                    text: "17分"
                }, {
                    value: "18:18",
                    text: "18分"
                }, {
                    value: "18:19",
                    text: "19分"
                }, {
                    value: "18:20",
                    text: "20分"
                }, {
                    value: "18:21",
                    text: "21分"
                }, {
                    value: "18:22",
                    text: "22分"
                }, {
                    value: "18:23",
                    text: "23分"
                }, {
                    value: "18:24",
                    text: "24分"
                }, {
                    value: "18:25",
                    text: "25分"
                }, {
                    value: "18:26",
                    text: "26分"
                }, {
                    value: "18:27",
                    text: "27分"
                }, {
                    value: "18:28",
                    text: "28分"
                }, {
                    value: "18:29",
                    text: "29分"
                }, {
                    value: "18:30",
                    text: "30分"
                }, {
                    value: "18:31",
                    text: "31分"
                }, {
                    value: "18:32",
                    text: "32分"
                }, {
                    value: "18:33",
                    text: "33分"
                }, {
                    value: "18:34",
                    text: "34分"
                }, {
                    value: "18:35",
                    text: "35分"
                }, {
                    value: "18:36",
                    text: "36分"
                }, {
                    value: "18:37",
                    text: "37分"
                }, {
                    value: "18:38",
                    text: "38分"
                }, {
                    value: "18:39",
                    text: "39分"
                }, {
                    value: "18:40",
                    text: "40分"
                }, {
                    value: "18:41",
                    text: "41分"
                }, {
                    value: "18:42",
                    text: "42分"
                }, {
                    value: "18:43",
                    text: "43分"
                }, {
                    value: "18:44",
                    text: "44分"
                }, {
                    value: "18:45",
                    text: "45分"
                }, {
                    value: "18:46",
                    text: "46分"
                }, {
                    value: "18:47",
                    text: "47分"
                }, {
                    value: "18:48",
                    text: "48分"
                }, {
                    value: "18:49",
                    text: "49分"
                }, {
                    value: "18:50",
                    text: "50分"
                }, {
                    value: "18:51",
                    text: "51分"
                }, {
                    value: "18:52",
                    text: "52分"
                }, {
                    value: "18:53",
                    text: "53分"
                }, {
                    value: "18:54",
                    text: "54分"
                }, {
                    value: "18:55",
                    text: "55分"
                }, {
                    value: "18:56",
                    text: "56分"
                }, {
                    value: "18:57",
                    text: "57分"
                }, {
                    value: "18:58",
                    text: "58分"
                }, {
                    value: "18:59",
                    text: "59分"
                }]
            }, {
                value: '120000',
                text: '19时',
                children: [
                   {
                    value: "19:00",
                    text: "00分"
                }, {
                    value: "19:01",
                    text: "01分"
                }, {
                    value: "19:02",
                    text: "02分"
                }, {
                    value: "19:03",
                    text: "03分"
                }, {
                    value: "19:04",
                    text: "04分"
                }, {
                    value: "19:05",
                    text: "05分"
                }, {
                    value: "19:06",
                    text: "06分"
                }, {
                    value: "19:07",
                    text: "07分"
                }, {
                    value: "19:08",
                    text: "08分"
                }, {
                    value: "19:09",
                    text: "09分"
                }, {
                    value: "19:10",
                    text: "10分"
                }, {
                    value: "19:11",
                    text: "11分"
                }, {
                    value: "19:12",
                    text: "12分"
                }, {
                    value: "19:13",
                    text: "13分"
                }, {
                    value: "19:14",
                    text: "14分"
                }, {
                    value: "19:15",
                    text: "15分"
                }, {
                    value: "19:16",
                    text: "16分"
                }, {
                    value: "19:17",
                    text: "17分"
                }, {
                    value: "19:18",
                    text: "18分"
                }, {
                    value: "19:19",
                    text: "19分"
                }, {
                    value: "19:20",
                    text: "20分"
                }, {
                    value: "19:21",
                    text: "21分"
                }, {
                    value: "19:22",
                    text: "22分"
                }, {
                    value: "19:23",
                    text: "23分"
                }, {
                    value: "19:24",
                    text: "24分"
                }, {
                    value: "19:25",
                    text: "25分"
                }, {
                    value: "19:26",
                    text: "26分"
                }, {
                    value: "19:27",
                    text: "27分"
                }, {
                    value: "19:28",
                    text: "28分"
                }, {
                    value: "19:29",
                    text: "29分"
                }, {
                    value: "19:30",
                    text: "30分"
                }, {
                    value: "19:31",
                    text: "31分"
                }, {
                    value: "19:32",
                    text: "32分"
                }, {
                    value: "19:33",
                    text: "33分"
                }, {
                    value: "19:34",
                    text: "34分"
                }, {
                    value: "19:35",
                    text: "35分"
                }, {
                    value: "19:36",
                    text: "36分"
                }, {
                    value: "19:37",
                    text: "37分"
                }, {
                    value: "19:38",
                    text: "38分"
                }, {
                    value: "19:39",
                    text: "39分"
                }, {
                    value: "19:40",
                    text: "40分"
                }, {
                    value: "19:41",
                    text: "41分"
                }, {
                    value: "19:42",
                    text: "42分"
                }, {
                    value: "19:43",
                    text: "43分"
                }, {
                    value: "19:44",
                    text: "44分"
                }, {
                    value: "19:45",
                    text: "45分"
                }, {
                    value: "19:46",
                    text: "46分"
                }, {
                    value: "19:47",
                    text: "47分"
                }, {
                    value: "19:48",
                    text: "48分"
                }, {
                    value: "19:49",
                    text: "49分"
                }, {
                    value: "19:50",
                    text: "50分"
                }, {
                    value: "19:51",
                    text: "51分"
                }, {
                    value: "19:52",
                    text: "52分"
                }, {
                    value: "19:53",
                    text: "53分"
                }, {
                    value: "19:54",
                    text: "54分"
                }, {
                    value: "19:55",
                    text: "55分"
                }, {
                    value: "19:56",
                    text: "56分"
                }, {
                    value: "19:57",
                    text: "57分"
                }, {
                    value: "19:58",
                    text: "58分"
                }, {
                    value: "19:59",
                    text: "59分"
                }]
            }, {
                value: '120000',
                text: '20时',
                children: [
                   {
                    value: "20:00",
                    text: "00分"
                }, {
                    value: "20:01",
                    text: "01分"
                }, {
                    value: "20:02",
                    text: "02分"
                }, {
                    value: "20:03",
                    text: "03分"
                }, {
                    value: "20:04",
                    text: "04分"
                }, {
                    value: "20:05",
                    text: "05分"
                }, {
                    value: "20:06",
                    text: "06分"
                }, {
                    value: "20:07",
                    text: "07分"
                }, {
                    value: "20:08",
                    text: "08分"
                }, {
                    value: "20:09",
                    text: "09分"
                }, {
                    value: "20:10",
                    text: "10分"
                }, {
                    value: "20:11",
                    text: "11分"
                }, {
                    value: "20:12",
                    text: "12分"
                }, {
                    value: "20:13",
                    text: "13分"
                }, {
                    value: "20:14",
                    text: "14分"
                }, {
                    value: "20:15",
                    text: "15分"
                }, {
                    value: "20:16",
                    text: "16分"
                }, {
                    value: "20:17",
                    text: "17分"
                }, {
                    value: "20:18",
                    text: "18分"
                }, {
                    value: "20:19",
                    text: "19分"
                }, {
                    value: "20:20",
                    text: "20分"
                }, {
                    value: "20:21",
                    text: "21分"
                }, {
                    value: "20:22",
                    text: "22分"
                }, {
                    value: "20:23",
                    text: "23分"
                }, {
                    value: "20:24",
                    text: "24分"
                }, {
                    value: "20:25",
                    text: "25分"
                }, {
                    value: "20:26",
                    text: "26分"
                }, {
                    value: "20:27",
                    text: "27分"
                }, {
                    value: "20:28",
                    text: "28分"
                }, {
                    value: "20:29",
                    text: "29分"
                }, {
                    value: "20:30",
                    text: "30分"
                }]
            } ])
        picker.pickers[0].setSelectedIndex(0);
        picker.pickers[0].setSelectedIndex(0);
        picker.show(function(items) {
          
           document.getElementById("qishishijian").value =items[1].value;
           document.getElementById("jiezhishijian").value ="";
           document.getElementById("jiezhishijian").removeAttribute("disabled");//清空并解锁
           //document.getElementById("warning2").style.cssText ="visibility:hidden;"
        })
           }
     }

 function dianji_jiezhishijian(){        //点击选择日期方法



   var xuanze_year=document.getElementById("selectData").value.substring(0,4);
        var xuanze_month=document.getElementById("selectData").value.substring(5,7);
        var xuanze_day=document.getElementById("selectData").value.substring(8);
        var xuanzeriqi = new Date(xuanze_year,xuanze_month-1,xuanze_day); 
       //alert(xuanzeriqi.getDay());
           if(xuanzeriqi.getDay()==0||xuanzeriqi.getDay()==6){
              var picker = new mui.PopPicker({
            layer: 2
            
        });
            
            picker.setData([{
                value: '120000',
                text: '08时',
               children: [
                   {
                    value: "08:30",
                    text: "30分"
                }, {
                    value: "08:31",
                    text: "31分"
                }, {
                    value: "08:32",
                    text: "32分"
                }, {
                    value: "08:33",
                    text: "33分"
                }, {
                    value: "08:34",
                    text: "34分"
                }, {
                    value: "08:35",
                    text: "35分"
                }, {
                    value: "08:36",
                    text: "36分"
                }, {
                    value: "08:37",
                    text: "37分"
                }, {
                    value: "08:38",
                    text: "38分"
                }, {
                    value: "08:39",
                    text: "39分"
                }, {
                    value: "08:40",
                    text: "40分"
                }, {
                    value: "08:41",
                    text: "41分"
                }, {
                    value: "08:42",
                    text: "42分"
                }, {
                    value: "08:43",
                    text: "43分"
                }, {
                    value: "08:44",
                    text: "44分"
                }, {
                    value: "08:45",
                    text: "45分"
                }, {
                    value: "08:46",
                    text: "46分"
                }, {
                    value: "08:47",
                    text: "47分"
                }, {
                    value: "08:48",
                    text: "48分"
                }, {
                    value: "08:49",
                    text: "49分"
                }, {
                    value: "08:50",
                    text: "50分"
                }, {
                    value: "08:51",
                    text: "51分"
                }, {
                    value: "08:52",
                    text: "52分"
                }, {
                    value: "08:53",
                    text: "53分"
                }, {
                    value: "08:54",
                    text: "54分"
                }, {
                    value: "08:55",
                    text: "55分"
                }, {
                    value: "08:56",
                    text: "56分"
                }, {
                    value: "08:57",
                    text: "57分"
                }, {
                    value: "08:58",
                    text: "58分"
                }, {
                    value: "08:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '09时',
               children: [
                   {
                    value: "09:00",
                    text: "00分"
                }, {
                    value: "09:01",
                    text: "01分"
                }, {
                    value: "09:02",
                    text: "02分"
                }, {
                    value: "09:03",
                    text: "03分"
                }, {
                    value: "09:04",
                    text: "04分"
                }, {
                    value: "09:05",
                    text: "05分"
                }, {
                    value: "09:06",
                    text: "06分"
                }, {
                    value: "09:07",
                    text: "07分"
                }, {
                    value: "09:08",
                    text: "08分"
                }, {
                    value: "09:09",
                    text: "09分"
                }, {
                    value: "09:10",
                    text: "10分"
                }, {
                    value: "09:11",
                    text: "11分"
                }, {
                    value: "09:12",
                    text: "12分"
                }, {
                    value: "09:13",
                    text: "13分"
                }, {
                    value: "09:14",
                    text: "14分"
                }, {
                    value: "09:15",
                    text: "15分"
                }, {
                    value: "09:16",
                    text: "16分"
                }, {
                    value: "09:17",
                    text: "17分"
                }, {
                    value: "09:18",
                    text: "18分"
                }, {
                    value: "09:19",
                    text: "19分"
                }, {
                    value: "09:20",
                    text: "20分"
                }, {
                    value: "09:21",
                    text: "21分"
                }, {
                    value: "09:22",
                    text: "22分"
                }, {
                    value: "09:23",
                    text: "23分"
                }, {
                    value: "09:24",
                    text: "24分"
                }, {
                    value: "09:25",
                    text: "25分"
                }, {
                    value: "09:26",
                    text: "26分"
                }, {
                    value: "09:27",
                    text: "27分"
                }, {
                    value: "09:28",
                    text: "28分"
                }, {
                    value: "09:29",
                    text: "29分"
                }, {
                    value: "09:30",
                    text: "30分"
                }, {
                    value: "09:31",
                    text: "31分"
                }, {
                    value: "09:32",
                    text: "32分"
                }, {
                    value: "09:33",
                    text: "33分"
                }, {
                    value: "09:34",
                    text: "34分"
                }, {
                    value: "09:35",
                    text: "35分"
                }, {
                    value: "09:36",
                    text: "36分"
                }, {
                    value: "09:37",
                    text: "37分"
                }, {
                    value: "09:38",
                    text: "38分"
                }, {
                    value: "09:39",
                    text: "39分"
                }, {
                    value: "09:40",
                    text: "40分"
                }, {
                    value: "09:41",
                    text: "41分"
                }, {
                    value: "09:42",
                    text: "42分"
                }, {
                    value: "09:43",
                    text: "43分"
                }, {
                    value: "09:44",
                    text: "44分"
                }, {
                    value: "09:45",
                    text: "45分"
                }, {
                    value: "09:46",
                    text: "46分"
                }, {
                    value: "09:47",
                    text: "47分"
                }, {
                    value: "09:48",
                    text: "48分"
                }, {
                    value: "09:49",
                    text: "49分"
                }, {
                    value: "09:50",
                    text: "50分"
                }, {
                    value: "09:51",
                    text: "51分"
                }, {
                    value: "09:52",
                    text: "52分"
                }, {
                    value: "09:53",
                    text: "53分"
                }, {
                    value: "09:54",
                    text: "54分"
                }, {
                    value: "09:55",
                    text: "55分"
                }, {
                    value: "09:56",
                    text: "56分"
                }, {
                    value: "09:57",
                    text: "57分"
                }, {
                    value: "09:58",
                    text: "58分"
                }, {
                    value: "09:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '10时',
               children: [
                   {
                    value: "10:00",
                    text: "00分"
                }, {
                    value: "10:01",
                    text: "01分"
                }, {
                    value: "10:02",
                    text: "02分"
                }, {
                    value: "10:03",
                    text: "03分"
                }, {
                    value: "10:04",
                    text: "04分"
                }, {
                    value: "10:05",
                    text: "05分"
                }, {
                    value: "10:06",
                    text: "06分"
                }, {
                    value: "10:07",
                    text: "07分"
                }, {
                    value: "10:08",
                    text: "08分"
                }, {
                    value: "10:09",
                    text: "09分"
                }, {
                    value: "10:10",
                    text: "10分"
                }, {
                    value: "10:11",
                    text: "11分"
                }, {
                    value: "10:12",
                    text: "12分"
                }, {
                    value: "10:13",
                    text: "13分"
                }, {
                    value: "10:14",
                    text: "14分"
                }, {
                    value: "10:15",
                    text: "15分"
                }, {
                    value: "10:16",
                    text: "16分"
                }, {
                    value: "10:17",
                    text: "17分"
                }, {
                    value: "10:18",
                    text: "18分"
                }, {
                    value: "10:19",
                    text: "19分"
                }, {
                    value: "10:20",
                    text: "20分"
                }, {
                    value: "10:21",
                    text: "21分"
                }, {
                    value: "10:22",
                    text: "22分"
                }, {
                    value: "10:23",
                    text: "23分"
                }, {
                    value: "10:24",
                    text: "24分"
                }, {
                    value: "10:25",
                    text: "25分"
                }, {
                    value: "10:26",
                    text: "26分"
                }, {
                    value: "10:27",
                    text: "27分"
                }, {
                    value: "10:28",
                    text: "28分"
                }, {
                    value: "10:29",
                    text: "29分"
                }, {
                    value: "10:30",
                    text: "30分"
                }, {
                    value: "10:31",
                    text: "31分"
                }, {
                    value: "10:32",
                    text: "32分"
                }, {
                    value: "10:33",
                    text: "33分"
                }, {
                    value: "10:34",
                    text: "34分"
                }, {
                    value: "10:35",
                    text: "35分"
                }, {
                    value: "10:36",
                    text: "36分"
                }, {
                    value: "10:37",
                    text: "37分"
                }, {
                    value: "10:38",
                    text: "38分"
                }, {
                    value: "10:39",
                    text: "39分"
                }, {
                    value: "10:40",
                    text: "40分"
                }, {
                    value: "10:41",
                    text: "41分"
                }, {
                    value: "10:42",
                    text: "42分"
                }, {
                    value: "10:43",
                    text: "43分"
                }, {
                    value: "10:44",
                    text: "44分"
                }, {
                    value: "10:45",
                    text: "45分"
                }, {
                    value: "10:46",
                    text: "46分"
                }, {
                    value: "10:47",
                    text: "47分"
                }, {
                    value: "10:48",
                    text: "48分"
                }, {
                    value: "10:49",
                    text: "49分"
                }, {
                    value: "10:50",
                    text: "50分"
                }, {
                    value: "10:51",
                    text: "51分"
                }, {
                    value: "10:52",
                    text: "52分"
                }, {
                    value: "10:53",
                    text: "53分"
                }, {
                    value: "10:54",
                    text: "54分"
                }, {
                    value: "10:55",
                    text: "55分"
                }, {
                    value: "10:56",
                    text: "56分"
                }, {
                    value: "10:57",
                    text: "57分"
                }, {
                    value: "10:58",
                    text: "58分"
                }, {
                    value: "10:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '11时',
               children: [
                   {
                    value: "11:00",
                    text: "00分"
                }, {
                    value: "11:01",
                    text: "01分"
                }, {
                    value: "11:02",
                    text: "02分"
                }, {
                    value: "11:03",
                    text: "03分"
                }, {
                    value: "11:04",
                    text: "04分"
                }, {
                    value: "11:05",
                    text: "05分"
                }, {
                    value: "11:06",
                    text: "06分"
                }, {
                    value: "11:07",
                    text: "07分"
                }, {
                    value: "11:08",
                    text: "08分"
                }, {
                    value: "11:09",
                    text: "09分"
                }, {
                    value: "11:10",
                    text: "10分"
                }, {
                    value: "11:11",
                    text: "11分"
                }, {
                    value: "11:12",
                    text: "12分"
                }, {
                    value: "11:13",
                    text: "13分"
                }, {
                    value: "11:14",
                    text: "14分"
                }, {
                    value: "11:15",
                    text: "15分"
                }, {
                    value: "11:16",
                    text: "16分"
                }, {
                    value: "11:17",
                    text: "17分"
                }, {
                    value: "11:18",
                    text: "18分"
                }, {
                    value: "11:19",
                    text: "19分"
                }, {
                    value: "11:20",
                    text: "20分"
                }, {
                    value: "11:21",
                    text: "21分"
                }, {
                    value: "11:22",
                    text: "22分"
                }, {
                    value: "11:23",
                    text: "23分"
                }, {
                    value: "11:24",
                    text: "24分"
                }, {
                    value: "11:25",
                    text: "25分"
                }, {
                    value: "11:26",
                    text: "26分"
                }, {
                    value: "11:27",
                    text: "27分"
                }, {
                    value: "11:28",
                    text: "28分"
                }, {
                    value: "11:29",
                    text: "29分"
                }, {
                    value: "11:30",
                    text: "30分"
                }, {
                    value: "11:31",
                    text: "31分"
                }, {
                    value: "11:32",
                    text: "32分"
                }, {
                    value: "11:33",
                    text: "33分"
                }, {
                    value: "11:34",
                    text: "34分"
                }, {
                    value: "11:35",
                    text: "35分"
                }, {
                    value: "11:36",
                    text: "36分"
                }, {
                    value: "11:37",
                    text: "37分"
                }, {
                    value: "11:38",
                    text: "38分"
                }, {
                    value: "11:39",
                    text: "39分"
                }, {
                    value: "11:40",
                    text: "40分"
                }, {
                    value: "11:41",
                    text: "41分"
                }, {
                    value: "11:42",
                    text: "42分"
                }, {
                    value: "11:43",
                    text: "43分"
                }, {
                    value: "11:44",
                    text: "44分"
                }, {
                    value: "11:45",
                    text: "45分"
                }, {
                    value: "11:46",
                    text: "46分"
                }, {
                    value: "11:47",
                    text: "47分"
                }, {
                    value: "11:48",
                    text: "48分"
                }, {
                    value: "11:49",
                    text: "49分"
                }, {
                    value: "11:50",
                    text: "50分"
                }, {
                    value: "11:51",
                    text: "51分"
                }, {
                    value: "11:52",
                    text: "52分"
                }, {
                    value: "11:53",
                    text: "53分"
                }, {
                    value: "11:54",
                    text: "54分"
                }, {
                    value: "11:55",
                    text: "55分"
                }, {
                    value: "11:56",
                    text: "56分"
                }, {
                    value: "11:57",
                    text: "57分"
                }, {
                    value: "11:58",
                    text: "58分"
                }, {
                    value: "11:59",
                    text: "59分"
                }]
            }, {
                value: '120000',
                text: '12时',
               children: [
                   {
                    value: "12:00",
                    text: "00分"
                }, {
                    value: "12:01",
                    text: "01分"
                }, {
                    value: "12:02",
                    text: "02分"
                }, {
                    value: "12:03",
                    text: "03分"
                }, {
                    value: "12:04",
                    text: "04分"
                }, {
                    value: "12:05",
                    text: "05分"
                }, {
                    value: "12:06",
                    text: "06分"
                }, {
                    value: "12:07",
                    text: "07分"
                }, {
                    value: "12:08",
                    text: "08分"
                }, {
                    value: "12:09",
                    text: "09分"
                }, {
                    value: "12:10",
                    text: "10分"
                }, {
                    value: "12:11",
                    text: "11分"
                }, {
                    value: "12:12",
                    text: "12分"
                }, {
                    value: "12:13",
                    text: "13分"
                }, {
                    value: "12:14",
                    text: "14分"
                }, {
                    value: "12:15",
                    text: "15分"
                }, {
                    value: "12:16",
                    text: "16分"
                }, {
                    value: "12:17",
                    text: "17分"
                }, {
                    value: "12:18",
                    text: "18分"
                }, {
                    value: "12:19",
                    text: "19分"
                }, {
                    value: "12:20",
                    text: "20分"
                }, {
                    value: "12:21",
                    text: "21分"
                }, {
                    value: "12:22",
                    text: "22分"
                }, {
                    value: "12:23",
                    text: "23分"
                }, {
                    value: "12:24",
                    text: "24分"
                }, {
                    value: "12:25",
                    text: "25分"
                }, {
                    value: "12:26",
                    text: "26分"
                }, {
                    value: "12:27",
                    text: "27分"
                }, {
                    value: "12:28",
                    text: "28分"
                }, {
                    value: "12:29",
                    text: "29分"
                }, {
                    value: "12:30",
                    text: "30分"
                }, {
                    value: "12:31",
                    text: "31分"
                }, {
                    value: "12:32",
                    text: "32分"
                }, {
                    value: "12:33",
                    text: "33分"
                }, {
                    value: "12:34",
                    text: "34分"
                }, {
                    value: "12:35",
                    text: "35分"
                }, {
                    value: "12:36",
                    text: "36分"
                }, {
                    value: "12:37",
                    text: "37分"
                }, {
                    value: "12:38",
                    text: "38分"
                }, {
                    value: "12:39",
                    text: "39分"
                }, {
                    value: "12:40",
                    text: "40分"
                }, {
                    value: "12:41",
                    text: "41分"
                }, {
                    value: "12:42",
                    text: "42分"
                }, {
                    value: "12:43",
                    text: "43分"
                }, {
                    value: "12:44",
                    text: "44分"
                }, {
                    value: "12:45",
                    text: "45分"
                }, {
                    value: "12:46",
                    text: "46分"
                }, {
                    value: "12:47",
                    text: "47分"
                }, {
                    value: "12:48",
                    text: "48分"
                }, {
                    value: "12:49",
                    text: "49分"
                }, {
                    value: "12:50",
                    text: "50分"
                }, {
                    value: "12:51",
                    text: "51分"
                }, {
                    value: "12:52",
                    text: "52分"
                }, {
                    value: "12:53",
                    text: "53分"
                }, {
                    value: "12:54",
                    text: "54分"
                }, {
                    value: "12:55",
                    text: "55分"
                }, {
                    value: "12:56",
                    text: "56分"
                }, {
                    value: "12:57",
                    text: "57分"
                }, {
                    value: "12:58",
                    text: "58分"
                }, {
                    value: "12:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '13时',
               children: [
                   {
                    value: "13:00",
                    text: "00分"
                }, {
                    value: "13:01",
                    text: "01分"
                }, {
                    value: "13:02",
                    text: "02分"
                }, {
                    value: "13:03",
                    text: "03分"
                }, {
                    value: "13:04",
                    text: "04分"
                }, {
                    value: "13:05",
                    text: "05分"
                }, {
                    value: "13:06",
                    text: "06分"
                }, {
                    value: "13:07",
                    text: "07分"
                }, {
                    value: "13:08",
                    text: "08分"
                }, {
                    value: "13:09",
                    text: "09分"
                }, {
                    value: "13:10",
                    text: "10分"
                }, {
                    value: "13:11",
                    text: "11分"
                }, {
                    value: "13:12",
                    text: "12分"
                }, {
                    value: "13:13",
                    text: "13分"
                }, {
                    value: "13:14",
                    text: "14分"
                }, {
                    value: "13:15",
                    text: "15分"
                }, {
                    value: "13:16",
                    text: "16分"
                }, {
                    value: "13:17",
                    text: "17分"
                }, {
                    value: "13:18",
                    text: "18分"
                }, {
                    value: "13:19",
                    text: "19分"
                }, {
                    value: "13:20",
                    text: "20分"
                }, {
                    value: "13:21",
                    text: "21分"
                }, {
                    value: "13:22",
                    text: "22分"
                }, {
                    value: "13:23",
                    text: "23分"
                }, {
                    value: "13:24",
                    text: "24分"
                }, {
                    value: "13:25",
                    text: "25分"
                }, {
                    value: "13:26",
                    text: "26分"
                }, {
                    value: "13:27",
                    text: "27分"
                }, {
                    value: "13:28",
                    text: "28分"
                }, {
                    value: "13:29",
                    text: "29分"
                }, {
                    value: "13:30",
                    text: "30分"
                }, {
                    value: "13:31",
                    text: "31分"
                }, {
                    value: "13:32",
                    text: "32分"
                }, {
                    value: "13:33",
                    text: "33分"
                }, {
                    value: "13:34",
                    text: "34分"
                }, {
                    value: "13:35",
                    text: "35分"
                }, {
                    value: "13:36",
                    text: "36分"
                }, {
                    value: "13:37",
                    text: "37分"
                }, {
                    value: "13:38",
                    text: "38分"
                }, {
                    value: "13:39",
                    text: "39分"
                }, {
                    value: "13:40",
                    text: "40分"
                }, {
                    value: "13:41",
                    text: "41分"
                }, {
                    value: "13:42",
                    text: "42分"
                }, {
                    value: "13:43",
                    text: "43分"
                }, {
                    value: "13:44",
                    text: "44分"
                }, {
                    value: "13:45",
                    text: "45分"
                }, {
                    value: "13:46",
                    text: "46分"
                }, {
                    value: "13:47",
                    text: "47分"
                }, {
                    value: "13:48",
                    text: "48分"
                }, {
                    value: "13:49",
                    text: "49分"
                }, {
                    value: "13:50",
                    text: "50分"
                }, {
                    value: "13:51",
                    text: "51分"
                }, {
                    value: "13:52",
                    text: "52分"
                }, {
                    value: "13:53",
                    text: "53分"
                }, {
                    value: "13:54",
                    text: "54分"
                }, {
                    value: "13:55",
                    text: "55分"
                }, {
                    value: "13:56",
                    text: "56分"
                }, {
                    value: "13:57",
                    text: "57分"
                }, {
                    value: "13:58",
                    text: "58分"
                }, {
                    value: "13:59",
                    text: "59分"
                }]
            }, {
                value: '120000',
                text: '14时',
               children: [
                   {
                    value: "14:00",
                    text: "00分"
                }, {
                    value: "14:01",
                    text: "01分"
                }, {
                    value: "14:02",
                    text: "02分"
                }, {
                    value: "14:03",
                    text: "03分"
                }, {
                    value: "14:04",
                    text: "04分"
                }, {
                    value: "14:05",
                    text: "05分"
                }, {
                    value: "14:06",
                    text: "06分"
                }, {
                    value: "14:07",
                    text: "07分"
                }, {
                    value: "14:08",
                    text: "08分"
                }, {
                    value: "14:09",
                    text: "09分"
                }, {
                    value: "14:10",
                    text: "10分"
                }, {
                    value: "14:11",
                    text: "11分"
                }, {
                    value: "14:12",
                    text: "12分"
                }, {
                    value: "14:13",
                    text: "13分"
                }, {
                    value: "14:14",
                    text: "14分"
                }, {
                    value: "14:15",
                    text: "15分"
                }, {
                    value: "14:16",
                    text: "16分"
                }, {
                    value: "14:17",
                    text: "17分"
                }, {
                    value: "14:18",
                    text: "18分"
                }, {
                    value: "14:19",
                    text: "19分"
                }, {
                    value: "14:20",
                    text: "20分"
                }, {
                    value: "14:21",
                    text: "21分"
                }, {
                    value: "14:22",
                    text: "22分"
                }, {
                    value: "14:23",
                    text: "23分"
                }, {
                    value: "14:24",
                    text: "24分"
                }, {
                    value: "14:25",
                    text: "25分"
                }, {
                    value: "14:26",
                    text: "26分"
                }, {
                    value: "14:27",
                    text: "27分"
                }, {
                    value: "14:28",
                    text: "28分"
                }, {
                    value: "14:29",
                    text: "29分"
                }, {
                    value: "14:30",
                    text: "30分"
                }, {
                    value: "14:31",
                    text: "31分"
                }, {
                    value: "14:32",
                    text: "32分"
                }, {
                    value: "14:33",
                    text: "33分"
                }, {
                    value: "14:34",
                    text: "34分"
                }, {
                    value: "14:35",
                    text: "35分"
                }, {
                    value: "14:36",
                    text: "36分"
                }, {
                    value: "14:37",
                    text: "37分"
                }, {
                    value: "14:38",
                    text: "38分"
                }, {
                    value: "14:39",
                    text: "39分"
                }, {
                    value: "14:40",
                    text: "40分"
                }, {
                    value: "14:41",
                    text: "41分"
                }, {
                    value: "14:42",
                    text: "42分"
                }, {
                    value: "14:43",
                    text: "43分"
                }, {
                    value: "14:44",
                    text: "44分"
                }, {
                    value: "14:45",
                    text: "45分"
                }, {
                    value: "14:46",
                    text: "46分"
                }, {
                    value: "14:47",
                    text: "47分"
                }, {
                    value: "14:48",
                    text: "48分"
                }, {
                    value: "14:49",
                    text: "49分"
                }, {
                    value: "14:50",
                    text: "50分"
                }, {
                    value: "14:51",
                    text: "51分"
                }, {
                    value: "14:52",
                    text: "52分"
                }, {
                    value: "14:53",
                    text: "53分"
                }, {
                    value: "14:54",
                    text: "54分"
                }, {
                    value: "14:55",
                    text: "55分"
                }, {
                    value: "14:56",
                    text: "56分"
                }, {
                    value: "14:57",
                    text: "57分"
                }, {
                    value: "14:58",
                    text: "58分"
                }, {
                    value: "14:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '15时',
               children: [
                   {
                    value: "15:00",
                    text: "00分"
                }, {
                    value: "15:01",
                    text: "01分"
                }, {
                    value: "15:02",
                    text: "02分"
                }, {
                    value: "15:03",
                    text: "03分"
                }, {
                    value: "15:04",
                    text: "04分"
                }, {
                    value: "15:05",
                    text: "05分"
                }, {
                    value: "15:06",
                    text: "06分"
                }, {
                    value: "15:07",
                    text: "07分"
                }, {
                    value: "15:08",
                    text: "08分"
                }, {
                    value: "15:09",
                    text: "09分"
                }, {
                    value: "15:10",
                    text: "10分"
                }, {
                    value: "15:11",
                    text: "11分"
                }, {
                    value: "15:12",
                    text: "12分"
                }, {
                    value: "15:13",
                    text: "13分"
                }, {
                    value: "15:14",
                    text: "14分"
                }, {
                    value: "15:15",
                    text: "15分"
                }, {
                    value: "15:16",
                    text: "16分"
                }, {
                    value: "15:17",
                    text: "17分"
                }, {
                    value: "15:18",
                    text: "18分"
                }, {
                    value: "15:19",
                    text: "19分"
                }, {
                    value: "15:20",
                    text: "20分"
                }, {
                    value: "15:21",
                    text: "21分"
                }, {
                    value: "15:22",
                    text: "22分"
                }, {
                    value: "15:23",
                    text: "23分"
                }, {
                    value: "15:24",
                    text: "24分"
                }, {
                    value: "15:25",
                    text: "25分"
                }, {
                    value: "15:26",
                    text: "26分"
                }, {
                    value: "15:27",
                    text: "27分"
                }, {
                    value: "15:28",
                    text: "28分"
                }, {
                    value: "15:29",
                    text: "29分"
                }, {
                    value: "15:30",
                    text: "30分"
                }, {
                    value: "15:31",
                    text: "31分"
                }, {
                    value: "15:32",
                    text: "32分"
                }, {
                    value: "15:33",
                    text: "33分"
                }, {
                    value: "15:34",
                    text: "34分"
                }, {
                    value: "15:35",
                    text: "35分"
                }, {
                    value: "15:36",
                    text: "36分"
                }, {
                    value: "15:37",
                    text: "37分"
                }, {
                    value: "15:38",
                    text: "38分"
                }, {
                    value: "15:39",
                    text: "39分"
                }, {
                    value: "15:40",
                    text: "40分"
                }, {
                    value: "15:41",
                    text: "41分"
                }, {
                    value: "15:42",
                    text: "42分"
                }, {
                    value: "15:43",
                    text: "43分"
                }, {
                    value: "15:44",
                    text: "44分"
                }, {
                    value: "15:45",
                    text: "45分"
                }, {
                    value: "15:46",
                    text: "46分"
                }, {
                    value: "15:47",
                    text: "47分"
                }, {
                    value: "15:48",
                    text: "48分"
                }, {
                    value: "15:49",
                    text: "49分"
                }, {
                    value: "15:50",
                    text: "50分"
                }, {
                    value: "15:51",
                    text: "51分"
                }, {
                    value: "15:52",
                    text: "52分"
                }, {
                    value: "15:53",
                    text: "53分"
                }, {
                    value: "15:54",
                    text: "54分"
                }, {
                    value: "15:55",
                    text: "55分"
                }, {
                    value: "15:56",
                    text: "56分"
                }, {
                    value: "15:57",
                    text: "57分"
                }, {
                    value: "15:58",
                    text: "58分"
                }, {
                    value: "15:59",
                    text: "59分"
                }]
            },{
                value: '120000',
                text: '16时',
                children: [
                   {
                    value: "16:00",
                    text: "00分"
                }, {
                    value: "16:01",
                    text: "01分"
                }, {
                    value: "16:02",
                    text: "02分"
                }, {
                    value: "16:03",
                    text: "03分"
                }, {
                    value: "16:04",
                    text: "04分"
                }, {
                    value: "16:05",
                    text: "05分"
                }, {
                    value: "16:06",
                    text: "06分"
                }, {
                    value: "16:07",
                    text: "07分"
                }, {
                    value: "16:08",
                    text: "08分"
                }, {
                    value: "16:09",
                    text: "09分"
                }, {
                    value: "16:10",
                    text: "10分"
                }, {
                    value: "16:11",
                    text: "11分"
                }, {
                    value: "16:12",
                    text: "12分"
                }, {
                    value: "16:13",
                    text: "13分"
                }, {
                    value: "16:14",
                    text: "14分"
                }, {
                    value: "16:15",
                    text: "15分"
                }, {
                    value: "16:16",
                    text: "16分"
                }, {
                    value: "16:17",
                    text: "17分"
                }, {
                    value: "16:18",
                    text: "18分"
                }, {
                    value: "16:19",
                    text: "19分"
                }, {
                    value: "16:20",
                    text: "20分"
                }, {
                    value: "16:21",
                    text: "21分"
                }, {
                    value: "16:22",
                    text: "22分"
                }, {
                    value: "16:23",
                    text: "23分"
                }, {
                    value: "16:24",
                    text: "24分"
                }, {
                    value: "16:25",
                    text: "25分"
                }, {
                    value: "16:26",
                    text: "26分"
                }, {
                    value: "16:27",
                    text: "27分"
                }, {
                    value: "16:28",
                    text: "28分"
                }, {
                    value: "16:29",
                    text: "29分"
                }, {
                    value: "16:30",
                    text: "30分"
                }, {
                    value: "16:31",
                    text: "31分"
                }, {
                    value: "16:32",
                    text: "32分"
                }, {
                    value: "16:33",
                    text: "33分"
                }, {
                    value: "16:34",
                    text: "34分"
                }, {
                    value: "16:35",
                    text: "35分"
                }, {
                    value: "16:36",
                    text: "36分"
                }, {
                    value: "16:37",
                    text: "37分"
                }, {
                    value: "16:38",
                    text: "38分"
                }, {
                    value: "16:39",
                    text: "39分"
                }, {
                    value: "16:40",
                    text: "40分"
                }, {
                    value: "16:41",
                    text: "41分"
                }, {
                    value: "16:42",
                    text: "42分"
                }, {
                    value: "16:43",
                    text: "43分"
                }, {
                    value: "16:44",
                    text: "44分"
                }, {
                    value: "16:45",
                    text: "45分"
                }, {
                    value: "16:46",
                    text: "46分"
                }, {
                    value: "16:47",
                    text: "47分"
                }, {
                    value: "16:48",
                    text: "48分"
                }, {
                    value: "16:49",
                    text: "49分"
                }, {
                    value: "16:50",
                    text: "50分"
                }, {
                    value: "16:51",
                    text: "51分"
                }, {
                    value: "16:52",
                    text: "52分"
                }, {
                    value: "16:53",
                    text: "53分"
                }, {
                    value: "16:54",
                    text: "54分"
                }, {
                    value: "16:55",
                    text: "55分"
                }, {
                    value: "16:56",
                    text: "56分"
                }, {
                    value: "16:57",
                    text: "57分"
                }, {
                    value: "16:58",
                    text: "58分"
                }, {
                    value: "16:59",
                    text: "59分"
                }]
            },{
                  value: '110000',
                  text: '17时',
                  children: [{
                    value: "17:00",
                    text: "00分"
                }, {
                    value: "17:01",
                    text: "01分"
                }, {
                    value: "17:02",
                    text: "02分"
                }, {
                    value: "17:03",
                    text: "03分"
                }, {
                    value: "17:04",
                    text: "04分"
                }, {
                    value: "17:05",
                    text: "05分"
                }, {
                    value: "17:06",
                    text: "06分"
                }, {
                    value: "17:07",
                    text: "07分"
                }, {
                    value: "17:08",
                    text: "08分"
                }, {
                    value: "17:09",
                    text: "09分"
                }, {
                    value: "17:10",
                    text: "10分"
                }, {
                    value: "17:11",
                    text: "11分"
                }, {
                    value: "17:12",
                    text: "12分"
                }, {
                    value: "17:13",
                    text: "13分"
                }, {
                    value: "17:14",
                    text: "14分"
                }, {
                    value: "17:15",
                    text: "15分"
                }, {
                    value: "17:16",
                    text: "16分"
                }, {
                    value: "17:17",
                    text: "17分"
                }, {
                    value: "17:18",
                    text: "18分"
                }, {
                    value: "17:19",
                    text: "19分"
                }, {
                    value: "17:20",
                    text: "20分"
                }, {
                    value: "17:21",
                    text: "21分"
                }, {
                    value: "17:22",
                    text: "22分"
                }, {
                    value: "17:23",
                    text: "23分"
                }, {
                    value: "17:24",
                    text: "24分"
                }, {
                    value: "17:25",
                    text: "25分"
                }, {
                    value: "17:26",
                    text: "26分"
                }, {
                    value: "17:27",
                    text: "27分"
                }, {
                    value: "17:28",
                    text: "28分"
                }, {
                    value: "17:29",
                    text: "29分"
                }, {
                    value: "17:30",
                    text: "30分"
                }]
              }  ])
        picker.pickers[0].setSelectedIndex(0);
        picker.pickers[0].setSelectedIndex(0);
        picker.show(function(items) {
          //alert(items[1].text+"~~~"+items[1].value+"~~~");
          document.getElementById("jiezhishijian").value =items[1].value;

          var str_qishi_hour = document.getElementById("qishishijian").value.substring(0, 2);                        //起始 小时，分钟
          var str_qishi_min = document.getElementById("qishishijian").value.substring(3);
          var str_jiezhi_hour = document.getElementById("jiezhishijian").value.substring(0, 2);                       //截止 小时，分钟
          var str_jiezhi_min = document.getElementById("jiezhishijian").value.substring(3);
          var chuanshuo_qishi = new Date(2017,6,6,str_qishi_hour,str_qishi_min,00); 
          var chuanshuo_jiezhi= new Date(2017,6,6,str_jiezhi_hour,str_jiezhi_min,00); 

          if((chuanshuo_qishi>chuanshuo_jiezhi)||(chuanshuo_qishi==chuanshuo_jiezhi)){
                //alert("错了");
                 //document.getElementById("warning2").innerHTML ="请选择合理的时间段";
                 //document.getElementById("warning2").style.cssText ="visibility:visible;"
                 mui.toast('请选择合理的时间段',{ duration:'long', type:'div' }); 
                 setnoClass();
          }else{
                if(DateHour(chuanshuo_qishi,chuanshuo_jiezhi)>9&&DateHour(chuanshuo_qishi,chuanshuo_jiezhi)<121){
                    setyesClass();
                     //document.getElementById("warning2").style.cssText ="visibility:hidden;"
                }else{
                    setnoClass();
                    if(DateHour(chuanshuo_qishi,chuanshuo_jiezhi)<11){
                         setnoClass();
                         //document.getElementById("warning2").innerHTML ="预约时间最短10分钟";
                         //document.getElementById("warning2").style.cssText ="visibility:visible;"
                         mui.toast('预约时间最短10分钟',{ duration:'long', type:'div' }); 
                    }else{
                         setnoClass();
                         //document.getElementById("warning2").innerHTML ="预约时间最长2小时";
                         //document.getElementById("warning2").style.cssText ="visibility:visible;"
                          mui.toast('预约时间最长2小时',{ duration:'long', type:'div' }); 
                    }
                }
          }
        })
           }else{
            var picker = new mui.PopPicker({
            layer: 2
            
        });
            
              picker.setData([{
                value: '120000',
                text: '12时',
               children: [
                   {
                    value: "12:00",
                    text: "00分"
                }, {
                    value: "12:01",
                    text: "01分"
                }, {
                    value: "12:02",
                    text: "02分"
                }, {
                    value: "12:03",
                    text: "03分"
                }, {
                    value: "12:04",
                    text: "04分"
                }, {
                    value: "12:05",
                    text: "05分"
                }, {
                    value: "12:06",
                    text: "06分"
                }, {
                    value: "12:07",
                    text: "07分"
                }, {
                    value: "12:08",
                    text: "08分"
                }, {
                    value: "12:09",
                    text: "09分"
                }, {
                    value: "12:10",
                    text: "10分"
                }, {
                    value: "12:11",
                    text: "11分"
                }, {
                    value: "12:12",
                    text: "12分"
                }, {
                    value: "12:13",
                    text: "13分"
                }, {
                    value: "12:14",
                    text: "14分"
                }, {
                    value: "12:15",
                    text: "15分"
                }, {
                    value: "12:16",
                    text: "16分"
                }, {
                    value: "12:17",
                    text: "17分"
                }, {
                    value: "12:18",
                    text: "18分"
                }, {
                    value: "12:19",
                    text: "19分"
                }, {
                    value: "12:20",
                    text: "20分"
                }, {
                    value: "12:21",
                    text: "21分"
                }, {
                    value: "12:22",
                    text: "22分"
                }, {
                    value: "12:23",
                    text: "23分"
                }, {
                    value: "12:24",
                    text: "24分"
                }, {
                    value: "12:25",
                    text: "25分"
                }, {
                    value: "12:26",
                    text: "26分"
                }, {
                    value: "12:27",
                    text: "27分"
                }, {
                    value: "12:28",
                    text: "28分"
                }, {
                    value: "12:29",
                    text: "29分"
                }, {
                    value: "12:30",
                    text: "30分"
                }, {
                    value: "12:31",
                    text: "31分"
                }, {
                    value: "12:32",
                    text: "32分"
                }, {
                    value: "12:33",
                    text: "33分"
                }, {
                    value: "12:34",
                    text: "34分"
                }, {
                    value: "12:35",
                    text: "35分"
                }, {
                    value: "12:36",
                    text: "36分"
                }, {
                    value: "12:37",
                    text: "37分"
                }, {
                    value: "12:38",
                    text: "38分"
                }, {
                    value: "12:39",
                    text: "39分"
                }, {
                    value: "12:40",
                    text: "40分"
                }, {
                    value: "12:41",
                    text: "41分"
                }, {
                    value: "12:42",
                    text: "42分"
                }, {
                    value: "12:43",
                    text: "43分"
                }, {
                    value: "12:44",
                    text: "44分"
                }, {
                    value: "12:45",
                    text: "45分"
                }, {
                    value: "12:46",
                    text: "46分"
                }, {
                    value: "12:47",
                    text: "47分"
                }, {
                    value: "12:48",
                    text: "48分"
                }, {
                    value: "12:49",
                    text: "49分"
                }, {
                    value: "12:50",
                    text: "50分"
                }, {
                    value: "12:51",
                    text: "51分"
                }, {
                    value: "12:52",
                    text: "52分"
                }, {
                    value: "12:53",
                    text: "53分"
                }, {
                    value: "12:54",
                    text: "54分"
                }, {
                    value: "12:55",
                    text: "55分"
                }, {
                    value: "12:56",
                    text: "56分"
                }, {
                    value: "12:57",
                    text: "57分"
                }, {
                    value: "12:58",
                    text: "58分"
                }, {
                    value: "12:59",
                    text: "59分"
                }]
            },  {
                value: '120000',
                text: '13时',
                children: [
                   {
                    value: "13:00",
                    text: "00分"
                }]
            },{
                value: '120000',
                text: '17时',
                children: [
                  {
                    value: "17:30",
                    text: "30分"
                }, {
                    value: "17:31",
                    text: "31分"
                }, {
                    value: "17:32",
                    text: "32分"
                }, {
                    value: "17:33",
                    text: "33分"
                }, {
                    value: "17:34",
                    text: "34分"
                }, {
                    value: "17:35",
                    text: "35分"
                }, {
                    value: "17:36",
                    text: "36分"
                }, {
                    value: "17:37",
                    text: "37分"
                }, {
                    value: "17:38",
                    text: "38分"
                }, {
                    value: "17:39",
                    text: "39分"
                }, {
                    value: "17:40",
                    text: "40分"
                }, {
                    value: "17:41",
                    text: "41分"
                }, {
                    value: "17:42",
                    text: "42分"
                }, {
                    value: "17:43",
                    text: "43分"
                }, {
                    value: "17:44",
                    text: "44分"
                }, {
                    value: "17:45",
                    text: "45分"
                }, {
                    value: "17:46",
                    text: "46分"
                }, {
                    value: "17:47",
                    text: "47分"
                }, {
                    value: "17:48",
                    text: "48分"
                }, {
                    value: "17:49",
                    text: "49分"
                }, {
                    value: "17:50",
                    text: "50分"
                }, {
                    value: "17:51",
                    text: "51分"
                }, {
                    value: "17:52",
                    text: "52分"
                }, {
                    value: "17:53",
                    text: "53分"
                }, {
                    value: "17:54",
                    text: "54分"
                }, {
                    value: "17:55",
                    text: "55分"
                }, {
                    value: "17:56",
                    text: "56分"
                }, {
                    value: "17:57",
                    text: "57分"
                }, {
                    value: "17:58",
                    text: "58分"
                }, {
                    value: "17:59",
                    text: "59分"
                }]
            }, {
                value: '120000',
                text: '18时',
                children: [
                   {
                    value: "18:00",
                    text: "00分"
                }, {
                    value: "18:01",
                    text: "01分"
                }, {
                    value: "18:02",
                    text: "02分"
                }, {
                    value: "18:03",
                    text: "03分"
                }, {
                    value: "18:04",
                    text: "04分"
                }, {
                    value: "18:05",
                    text: "05分"
                }, {
                    value: "18:06",
                    text: "06分"
                }, {
                    value: "18:07",
                    text: "07分"
                }, {
                    value: "18:08",
                    text: "08分"
                }, {
                    value: "18:09",
                    text: "09分"
                }, {
                    value: "18:10",
                    text: "10分"
                }, {
                    value: "18:11",
                    text: "11分"
                }, {
                    value: "18:12",
                    text: "12分"
                }, {
                    value: "18:13",
                    text: "13分"
                }, {
                    value: "18:14",
                    text: "14分"
                }, {
                    value: "18:15",
                    text: "15分"
                }, {
                    value: "18:16",
                    text: "16分"
                }, {
                    value: "18:17",
                    text: "17分"
                }, {
                    value: "18:18",
                    text: "18分"
                }, {
                    value: "18:19",
                    text: "19分"
                }, {
                    value: "18:20",
                    text: "20分"
                }, {
                    value: "18:21",
                    text: "21分"
                }, {
                    value: "18:22",
                    text: "22分"
                }, {
                    value: "18:23",
                    text: "23分"
                }, {
                    value: "18:24",
                    text: "24分"
                }, {
                    value: "18:25",
                    text: "25分"
                }, {
                    value: "18:26",
                    text: "26分"
                }, {
                    value: "18:27",
                    text: "27分"
                }, {
                    value: "18:28",
                    text: "28分"
                }, {
                    value: "18:29",
                    text: "29分"
                }, {
                    value: "18:30",
                    text: "30分"
                }, {
                    value: "18:31",
                    text: "31分"
                }, {
                    value: "18:32",
                    text: "32分"
                }, {
                    value: "18:33",
                    text: "33分"
                }, {
                    value: "18:34",
                    text: "34分"
                }, {
                    value: "18:35",
                    text: "35分"
                }, {
                    value: "18:36",
                    text: "36分"
                }, {
                    value: "18:37",
                    text: "37分"
                }, {
                    value: "18:38",
                    text: "38分"
                }, {
                    value: "18:39",
                    text: "39分"
                }, {
                    value: "18:40",
                    text: "40分"
                }, {
                    value: "18:41",
                    text: "41分"
                }, {
                    value: "18:42",
                    text: "42分"
                }, {
                    value: "18:43",
                    text: "43分"
                }, {
                    value: "18:44",
                    text: "44分"
                }, {
                    value: "18:45",
                    text: "45分"
                }, {
                    value: "18:46",
                    text: "46分"
                }, {
                    value: "18:47",
                    text: "47分"
                }, {
                    value: "18:48",
                    text: "48分"
                }, {
                    value: "18:49",
                    text: "49分"
                }, {
                    value: "18:50",
                    text: "50分"
                }, {
                    value: "18:51",
                    text: "51分"
                }, {
                    value: "18:52",
                    text: "52分"
                }, {
                    value: "18:53",
                    text: "53分"
                }, {
                    value: "18:54",
                    text: "54分"
                }, {
                    value: "18:55",
                    text: "55分"
                }, {
                    value: "18:56",
                    text: "56分"
                }, {
                    value: "18:57",
                    text: "57分"
                }, {
                    value: "18:58",
                    text: "58分"
                }, {
                    value: "18:59",
                    text: "59分"
                }]
            }, {
                value: '120000',
                text: '19时',
                children: [
                   {
                    value: "19:00",
                    text: "00分"
                }, {
                    value: "19:01",
                    text: "01分"
                }, {
                    value: "19:02",
                    text: "02分"
                }, {
                    value: "19:03",
                    text: "03分"
                }, {
                    value: "19:04",
                    text: "04分"
                }, {
                    value: "19:05",
                    text: "05分"
                }, {
                    value: "19:06",
                    text: "06分"
                }, {
                    value: "19:07",
                    text: "07分"
                }, {
                    value: "19:08",
                    text: "08分"
                }, {
                    value: "19:09",
                    text: "09分"
                }, {
                    value: "19:10",
                    text: "10分"
                }, {
                    value: "19:11",
                    text: "11分"
                }, {
                    value: "19:12",
                    text: "12分"
                }, {
                    value: "19:13",
                    text: "13分"
                }, {
                    value: "19:14",
                    text: "14分"
                }, {
                    value: "19:15",
                    text: "15分"
                }, {
                    value: "19:16",
                    text: "16分"
                }, {
                    value: "19:17",
                    text: "17分"
                }, {
                    value: "19:18",
                    text: "18分"
                }, {
                    value: "19:19",
                    text: "19分"
                }, {
                    value: "19:20",
                    text: "20分"
                }, {
                    value: "19:21",
                    text: "21分"
                }, {
                    value: "19:22",
                    text: "22分"
                }, {
                    value: "19:23",
                    text: "23分"
                }, {
                    value: "19:24",
                    text: "24分"
                }, {
                    value: "19:25",
                    text: "25分"
                }, {
                    value: "19:26",
                    text: "26分"
                }, {
                    value: "19:27",
                    text: "27分"
                }, {
                    value: "19:28",
                    text: "28分"
                }, {
                    value: "19:29",
                    text: "29分"
                }, {
                    value: "19:30",
                    text: "30分"
                }, {
                    value: "19:31",
                    text: "31分"
                }, {
                    value: "19:32",
                    text: "32分"
                }, {
                    value: "19:33",
                    text: "33分"
                }, {
                    value: "19:34",
                    text: "34分"
                }, {
                    value: "19:35",
                    text: "35分"
                }, {
                    value: "19:36",
                    text: "36分"
                }, {
                    value: "19:37",
                    text: "37分"
                }, {
                    value: "19:38",
                    text: "38分"
                }, {
                    value: "19:39",
                    text: "39分"
                }, {
                    value: "19:40",
                    text: "40分"
                }, {
                    value: "19:41",
                    text: "41分"
                }, {
                    value: "19:42",
                    text: "42分"
                }, {
                    value: "19:43",
                    text: "43分"
                }, {
                    value: "19:44",
                    text: "44分"
                }, {
                    value: "19:45",
                    text: "45分"
                }, {
                    value: "19:46",
                    text: "46分"
                }, {
                    value: "19:47",
                    text: "47分"
                }, {
                    value: "19:48",
                    text: "48分"
                }, {
                    value: "19:49",
                    text: "49分"
                }, {
                    value: "19:50",
                    text: "50分"
                }, {
                    value: "19:51",
                    text: "51分"
                }, {
                    value: "19:52",
                    text: "52分"
                }, {
                    value: "19:53",
                    text: "53分"
                }, {
                    value: "19:54",
                    text: "54分"
                }, {
                    value: "19:55",
                    text: "55分"
                }, {
                    value: "19:56",
                    text: "56分"
                }, {
                    value: "19:57",
                    text: "57分"
                }, {
                    value: "19:58",
                    text: "58分"
                }, {
                    value: "19:59",
                    text: "59分"
                }]
            }, {
                value: '120000',
                text: '20时',
                children: [
                   {
                    value: "20:00",
                    text: "00分"
                }, {
                    value: "20:01",
                    text: "01分"
                }, {
                    value: "20:02",
                    text: "02分"
                }, {
                    value: "20:03",
                    text: "03分"
                }, {
                    value: "20:04",
                    text: "04分"
                }, {
                    value: "20:05",
                    text: "05分"
                }, {
                    value: "20:06",
                    text: "06分"
                }, {
                    value: "20:07",
                    text: "07分"
                }, {
                    value: "20:08",
                    text: "08分"
                }, {
                    value: "20:09",
                    text: "09分"
                }, {
                    value: "20:10",
                    text: "10分"
                }, {
                    value: "20:11",
                    text: "11分"
                }, {
                    value: "20:12",
                    text: "12分"
                }, {
                    value: "20:13",
                    text: "13分"
                }, {
                    value: "20:14",
                    text: "14分"
                }, {
                    value: "20:15",
                    text: "15分"
                }, {
                    value: "20:16",
                    text: "16分"
                }, {
                    value: "20:17",
                    text: "17分"
                }, {
                    value: "20:18",
                    text: "18分"
                }, {
                    value: "20:19",
                    text: "19分"
                }, {
                    value: "20:20",
                    text: "20分"
                }, {
                    value: "20:21",
                    text: "21分"
                }, {
                    value: "20:22",
                    text: "22分"
                }, {
                    value: "20:23",
                    text: "23分"
                }, {
                    value: "20:24",
                    text: "24分"
                }, {
                    value: "20:25",
                    text: "25分"
                }, {
                    value: "20:26",
                    text: "26分"
                }, {
                    value: "20:27",
                    text: "27分"
                }, {
                    value: "20:28",
                    text: "28分"
                }, {
                    value: "20:29",
                    text: "29分"
                }, {
                    value: "20:30",
                    text: "30分"
                }]
            } ])
        picker.pickers[0].setSelectedIndex(0);
        picker.pickers[0].setSelectedIndex(0);
           
            
        picker.show(function(items) {
          //alert(items[1].text+"~~~"+items[1].value+"~~~");
          document.getElementById("jiezhishijian").value =items[1].value;

          var str_qishi_hour = document.getElementById("qishishijian").value.substring(0, 2);                        //起始 小时，分钟
          var str_qishi_min = document.getElementById("qishishijian").value.substring(3);
          var str_jiezhi_hour = document.getElementById("jiezhishijian").value.substring(0, 2);                       //截止 小时，分钟
          var str_jiezhi_min = document.getElementById("jiezhishijian").value.substring(3);
          var chuanshuo_qishi = new Date(2017,6,6,str_qishi_hour,str_qishi_min,00); 
          var chuanshuo_jiezhi= new Date(2017,6,6,str_jiezhi_hour,str_jiezhi_min,00); 

          if((chuanshuo_qishi>chuanshuo_jiezhi)||(chuanshuo_qishi==chuanshuo_jiezhi)){
               // alert("错了");
                            //document.getElementById("warning2").innerHTML ="请选择合理的时间段";
                             //document.getElementById("warning2").style.cssText ="visibility:visible;"
                             mui.toast('请选择合理的时间段',{ duration:'long', type:'div' }); 
                              setnoClass();
          }else{
                if(DateHour(chuanshuo_qishi,chuanshuo_jiezhi)>9&&DateHour(chuanshuo_qishi,chuanshuo_jiezhi)<121){
                    setyesClass();
                     //document.getElementById("warning2").style.cssText ="visibility:hidden;"
                }else{
                    setnoClass();
                    if(DateHour(chuanshuo_qishi,chuanshuo_jiezhi)<11){
                         setnoClass();
                         //document.getElementById("warning2").innerHTML ="预约时间最短10分钟";
                         //document.getElementById("warning2").style.cssText ="visibility:visible;"
                         mui.toast('预约时间最短10分钟',{ duration:'long', type:'div' }); 
                    }else{
                         setnoClass();
                         //document.getElementById("warning2").innerHTML ="预约时间最长2小时";
                         //document.getElementById("warning2").style.cssText ="visibility:visible;"
                          mui.toast('预约时间最长2小时',{ duration:'long', type:'div' }); 
                    }
                }
          }
        })

        }
     }


 


    function fmtDate(obj){ 


      var date = new Date(obj);
      var y = date.getFullYear();
      var m = date.getMonth() + 1;
      m = m < 10 ? ('0' + m) : m;
      var d = date.getDate();
      d = d < 10 ? ('0' + d) : d;
      var h = date.getHours();
      h = h < 10 ? ('0' + h) : h;
      var minute = date.getMinutes();
      var second = date.getSeconds();
      minute = minute < 10 ? ('0' + minute) : minute;
      second = second < 10 ? ('0' + second) : second;
      //return y + '-' + m + '-' + d+' '+h+':'+minute+':'+second;
      //alert(y + '-' + m + '-' + d+' '+h+':'+minute+':'+second);
      return new Date(y,m-1,d,h,minute,second);

    };

     function click_reminder(){
        var data_value = document.getElementById("selectData");  //获取时间及其具体的年月日
        var str_month = data_value.value.substring(5, 7);               
        var str_year = data_value.value.substring(0, 4);
        var str_day = data_value.value.substring(8);
        var d1 = new Date(str_year, str_month - 1, str_day);     //输入的日期变为日期格式
        
       if(data_value.value == ""){
             mui.alert("\n正常工作日（星期一至星期五）\n\n 可预约时间段：\n\n   中午 12：00~13：00\n 下午 17：30~20：30\n\n（星期六）\n\n 可预约时间段：\n\n全日 早8：30~晚17：30\n","通知");
       }else{
        if(d1.getDay()==0||d1.getDay()==6){
            if(d1.getDay()==0){
             mui.alert("\n您选择的日期是  星期日\n\n  星期日休息，不可预约\n","通知");
             document.getElementById("selectData").value="";
            document.getElementById("qishishijian").setAttribute('disabled','disabled');
            }else{
             mui.alert("\n您选择的日期是  星期六\n\n 可预约时间段：\n\n 早8：30 ~ 晚17：30\n","通知");
            }
            
        }else{
            if(d1.getDay()==1){
                 mui.alert("\n您选择的日期是  星期一\n\n 可预约时间段：\n\n  中午 12：00~13：00\n 下午 17：30~20：30\n","通知");
            }else if(d1.getDay()==2){
                    mui.alert("\n您选择的日期是  星期二\n\n 可预约时间段：\n\n  中午 12：00~13：00\n 下午 17：30~20：30\n","通知");
            }else if(d1.getDay()==3){
                    mui.alert("\n您选择的日期是  星期三\n\n 可预约时间段：\n\n  中午 12：00~13：00\n 下午 17：30~20：30\n","通知");
            }else if(d1.getDay()==4){
                   mui.alert("\n您选择的日期是  星期四\n\n 可预约时间段：\n\n  中午 12：00~13：00\n 下午 17：30~20：30\n","通知");
            }else if(d1.getDay()==5){
                   mui.alert("\n您选择的日期是  星期五\n\n 可预约时间段：\n\n  中午 12：00~13：00\n 下午 17：30~20：30\n","通知");
            }
            
        }
       }
      // alert("\n正常工作日：\n\n 早上 6： 30~8 ：00\n 中午 12：00~13：00\n 下午 17：00~19：00\n");
      // alert("\n周末：\n\n 全日 8：00~17：00\n");

    }

     function setyesClass() {

        document.getElementById("order_BigButton").style.background ="#29b6f6"; //变成蓝色

        //alert("不合理");
        document.getElementById("order_BigButton").removeAttribute("disabled");//按钮可以按
    }

    function setnoClass() {
        document.getElementById("order_BigButton").style.background ="#666666";//变成灰色
        //alert("不合理");
        document.getElementById("order_BigButton").setAttribute('disabled','disabled');//按钮不可按
    }
    


    function check() {

        var str = document.getElementById("phone").value;
         var em = document.getElementById("demail").value;
        var myreg = /^[1][3,4,5,7,8][0-9]{9}$/;

        if ((!myreg.test(str))||em=="") {
            document.getElementById("selectData").value ="";
            document.getElementById("qishishijian").value ="";
            document.getElementById("jiezhishijian").value ="";
            document.getElementById("selectData").setAttribute('disabled','disabled');//清空并上锁
            document.getElementById("qishishijian").setAttribute('disabled','disabled');//清空并上锁
            document.getElementById("jiezhishijian").setAttribute('disabled','disabled');//清空并上锁
            //var obj = document.getElementById("warning");
            // obj.innerHTML ="请检查手机号是否正确";               
           // obj.style.cssText ="visibility:visible;"
           if(document.getElementById("phone").value==""){
        	mui.toast('请输入手机号',{ duration:'long', type:'div' });
        	}else if(!myreg.test(str)){
            mui.toast('请检查手机号是否正确',{ duration:'long', type:'div' }); 
        	}else if(document.getElementById("demail").value==""){
            mui.toast('请输入邮箱',{ duration:'long', type:'div' });
            }
            setnoClass();
            
            

            shoujhao_flag = 0;
        } else {
            //var obj = document.getElementById("warning");
            //bj.style.cssText ="visibility:hidden;"
           
            document.getElementById("selectData").removeAttribute("disabled");
            shoujhao_flag = 1;
        }
    }